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
commit 171be91804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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->edit_node(new_node);
editor_selection->clear();
editor_selection->add_node(new_node);
} break;