summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-18 12:30:38 +0100
committerGitHub <noreply@github.com>2021-01-18 12:30:38 +0100
commit5496174dd40b61a6cfb7d55639820703480846b7 (patch)
tree63de579f9f64a2a76de42de7edfde18ddb8281c7 /editor
parent16fa4201f1c2f3b46c63e6d9933333e97354c753 (diff)
parent05f29b16b62bd71148f4144a4f1a6b8399501b8f (diff)
Merge pull request #45265 from KoBeWi/children_editing_2077
Change how editable children data is stored
Diffstat (limited to 'editor')
-rw-r--r--editor/scene_tree_dock.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index afacc4ba1f..ac1beb1c37 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -2140,7 +2140,6 @@ void SceneTreeDock::replace_node(Node *p_node, Node *p_by_node, bool p_keep_prop
if (n == edited_scene) {
edited_scene = newnode;
editor->set_edited_scene(newnode);
- newnode->set_editable_instances(n->get_editable_instances());
}
//small hack to make collisionshapes and other kind of nodes to work