diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index cba55cac779..2ca621e24d2 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -1358,7 +1358,7 @@ void SceneTreeDock::_create() { editor_data->get_undo_redo().commit_action(); editor->push_item(c); - + editor_selection->clear(); if (Object::cast_to(c)) { //make editor more comfortable, so some controls don't appear super shrunk Control *ct = Object::cast_to(c);