1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00

Change how editable children data is stored

Co-authored-by: hilfazer <az13337@gmail.com>
This commit is contained in:
kobewi
2021-01-17 23:37:40 +01:00
parent 49b5776e8b
commit 05f29b16b6
3 changed files with 5 additions and 19 deletions

View File

@@ -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