2
0
Fork 0

Preserve scene unique names when saving branch as scene.

(cherry picked from commit 7814dedc91)
4.0
HolonProduction 2023-04-30 13:33:43 +07:00 committed by Rémi Verschelde
parent 70f7fcd208
commit a07ad181ab
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

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