Merge pull request #93581 from Calinou/editor-particles-restart-fix-shortcut

Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
This commit is contained in:
Rémi Verschelde 2024-06-25 09:20:09 +02:00
commit 066555fced
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -6446,6 +6446,7 @@ EditorNode::EditorNode() {
ED_SHORTCUT("editor/ungroup_selected_nodes", TTR("Ungroup Selected Node(s)"), KeyModifierMask::CMD_OR_CTRL | KeyModifierMask::SHIFT | Key::G);
// Used in the GPUParticles/CPUParticles 2D/3D editor plugins.
// The shortcut is Ctrl + R even on macOS, as Cmd + R is used to run the current scene on macOS.
ED_SHORTCUT("particles/restart_emission", TTR("Restart Emission"), KeyModifierMask::CTRL | Key::R);
FileAccess::set_backup_save(EDITOR_GET("filesystem/on_save/safe_save_on_backup_then_rename"));