summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-01-17 23:37:40 +0100
committerkobewi <kobewi4e@gmail.com>2021-01-17 23:37:40 +0100
commit05f29b16b62bd71148f4144a4f1a6b8399501b8f (patch)
tree686d6cfec0879708cc040e5a697c36a6e6d3e10a /editor
parent49b5776e8bd62b4bfb6511cca770611b6a3062e4 (diff)
Change how editable children data is stored
Co-authored-by: hilfazer <az13337@gmail.com>
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