1
0
mirror of https://github.com/godotengine/godot synced 2024-07-08 20:42:15 +00:00

Revert "Fix SceneTreeDock::_selection_changed to handle to single selection from Multiple Selection"

This commit is contained in:
Rémi Verschelde 2021-06-16 02:12:01 +02:00 committed by GitHub
parent c2ba45fcc8
commit 80d057269f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();