diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-16 02:13:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 02:13:26 +0200 |
commit | d36b220531198b494fc309c015e04867926992fd (patch) | |
tree | f07bcf27a94957deb92edc30d6fe0881f0b5fbfb | |
parent | c2ba45fcc8f670c6f56f616a4f8c5751fad1778e (diff) | |
parent | 80d057269fd0e767a72322bb877aef5a77c1518b (diff) |
Merge pull request #49634 from godotengine/revert-49482-49451-fix-selection-changed-multinodeeditor
Revert "Fix SceneTreeDock::_selection_changed to handle to single selection from Multiple Selection"
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 8d59b478ba..8d6b7f3389 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2059,8 +2059,6 @@ void SceneTreeDock::_selection_changed() { _tool_selected(TOOL_MULTI_EDIT); } else if (selection_size == 0) { editor->push_item(nullptr); - } else { - editor->push_item(EditorNode::get_singleton()->get_editor_selection()->get_selection().front()->value()); } _update_script_button(); |