Properly edit the instanced node in the inspector

(cherry picked from commit f5d51288b8)
This commit is contained in:
kobewi 2021-01-05 14:14:45 +01:00 committed by Rémi Verschelde
parent 3785b091e4
commit c588ba0b6a
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -235,6 +235,7 @@ void SceneTreeDock::_perform_instance_scenes(const Vector<String> &p_files, Node
} }
editor_data->get_undo_redo().commit_action(); editor_data->get_undo_redo().commit_action();
editor->push_item(instances[instances.size() - 1]);
} }
void SceneTreeDock::_replace_with_branch_scene(const String &p_file, Node *base) { void SceneTreeDock::_replace_with_branch_scene(const String &p_file, Node *base) {