1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Allow to easily rename multiple nodes

Co-authored-by: ajreckof <tbonhoure@ymail.Com>
This commit is contained in:
kobewi
2023-06-15 13:20:49 +02:00
parent dad6c774b0
commit ffadba0b08
4 changed files with 45 additions and 28 deletions

View File

@@ -599,8 +599,7 @@ void RenameDialog::rename() {
ERR_PRINT("Skipping missing node: " + to_rename[i].first.get_concatenated_subnames());
continue;
}
scene_tree_editor->call("_rename_node", n, new_name);
scene_tree_editor->rename_node(n, new_name);
}
undo_redo->commit_action();