From 555f0aa2f7bb92e1254c1fccc324b2780fb61699 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 25 Jun 2024 01:40:52 +0200 Subject: [PATCH] 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. --- editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 1560fe5636b..57709ca0a05 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -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"));