Merge pull request #49635 from godotengine/revert-49486-49451-fix-selection-changed-multinodeeditor-3.x

Revert "[3.x] Fix SceneTreeDock::_selection_changed"
This commit is contained in:
Rémi Verschelde 2021-06-16 02:35:53 +02:00 committed by GitHub
commit 3b944e9d99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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