From f5d51288b895df5495871586b33977ab76ac02b8 Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 5 Jan 2021 14:14:45 +0100 Subject: Properly edit the instanced node in the inspector --- editor/scene_tree_dock.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor') diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index f317ac581f..17d3883689 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -228,6 +228,7 @@ void SceneTreeDock::_perform_instance_scenes(const Vector &p_files, Node } 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) { -- cgit v1.2.3