瀏覽代碼

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

Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
Rémi Verschelde 1 年之前
父節點
當前提交
066555fced
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
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"));