Properly edit the instanced node in the inspector

This commit is contained in:
kobewi 2021-01-05 14:14:45 +01:00
parent 47353fb42e
commit f5d51288b8

View file

@ -228,6 +228,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) {