You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Add EditorUndoRedoManager singleton
This commit is contained in:
@@ -583,7 +583,7 @@ void RenameDialog::rename() {
|
||||
_iterate_scene(root_node, selected_node_list, &global_count);
|
||||
|
||||
if (!to_rename.is_empty()) {
|
||||
Ref<EditorUndoRedoManager> &undo_redo = EditorNode::get_undo_redo();
|
||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||
undo_redo->create_action(TTR("Batch Rename"));
|
||||
|
||||
// Make sure to iterate reversed so that child nodes will find parents.
|
||||
|
||||
Reference in New Issue
Block a user