mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
This is done to avoid a conflict, but it's not obvious when looking at the code.
This commit is contained in:
parent
25ff1306d6
commit
555f0aa2f7
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user