Merge pull request #39533 from hilfazer/editable-children-bugfixes

Fix Editable Children issues with node renaming, moving, duplicating and instancing.
This commit is contained in:
Rémi Verschelde
2021-01-18 12:31:12 +01:00
committed by GitHub
3 changed files with 5 additions and 22 deletions

View File

@@ -2183,7 +2183,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