diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-24 08:06:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 08:06:29 +0100 |
commit | cbcf31f0b9a7b51f907955922589e5321f7ceb7d (patch) | |
tree | 476edb193a674c1f396f9813752a884463dddb18 /editor | |
parent | 762a4b4decccd33ebc95092e9411b93ea4a4ef50 (diff) | |
parent | feb45aaf4bcde4361fa0924a9c805f08f9080c60 (diff) |
Merge pull request #13229 from sersoong/master-test
3.0 - Fix context menu of first node in a new scene
Diffstat (limited to 'editor')
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index cba55cac77..2ca621e24d 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<Control>(c)) { //make editor more comfortable, so some controls don't appear super shrunk Control *ct = Object::cast_to<Control>(c); |