|
@@ -276,6 +276,8 @@ void SceneTreeDock::_replace_with_branch_scene(const String &p_file, Node *base)
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ instantiated_scene->set_unique_name_in_owner(base->is_unique_name_in_owner());
|
|
|
|
+
|
|
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
|
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
|
undo_redo->create_action(TTR("Replace with Branch Scene"));
|
|
undo_redo->create_action(TTR("Replace with Branch Scene"));
|
|
|
|
|