Merge pull request #22694 from swarnimarun/fix-create-spatial-root
Fixing create spatial root button
This commit is contained in:
commit
171be91804
1 changed files with 2 additions and 0 deletions
|
@ -836,6 +836,8 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
|||
editor_data->get_undo_redo().commit_action();
|
||||
|
||||
editor->edit_node(new_node);
|
||||
editor_selection->clear();
|
||||
editor_selection->add_node(new_node);
|
||||
|
||||
} break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue