1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Merge pull request #22694 from swarnimarun/fix-create-spatial-root

Fixing create spatial root button
This commit is contained in:
Rémi Verschelde
2018-10-04 08:37:57 +02:00
committed by GitHub

View File

@@ -836,6 +836,8 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
editor_data->get_undo_redo().commit_action(); editor_data->get_undo_redo().commit_action();
editor->edit_node(new_node); editor->edit_node(new_node);
editor_selection->clear();
editor_selection->add_node(new_node);
} break; } break;