From 990b6e7e9533ed21527c0b85c0a54f293e6b1954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 16 Jun 2021 02:34:33 +0200 Subject: [PATCH] Revert "[3.x] Fix SceneTreeDock::_selection_changed" --- editor/scene_tree_dock.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 06b10cecbb9..aa356172ebf 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2045,8 +2045,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();