Skip to content

Commit 891173b

Browse files
committed
[macOS] Change the shortcut for Align Transform with View
1 parent b97110c commit 891173b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

editor/plugins/node_3d_editor_plugin.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -8650,7 +8650,12 @@ Node3DEditor::Node3DEditor() {
86508650
ED_SHORTCUT("spatial_editor/focus_origin", TTR("Focus Origin"), Key::O);
86518651
ED_SHORTCUT("spatial_editor/focus_selection", TTR("Focus Selection"), Key::F);
86528652
ED_SHORTCUT_ARRAY("spatial_editor/align_transform_with_view", TTR("Align Transform with View"),
8653-
{ int32_t(KeyModifierMask::ALT | KeyModifierMask::CMD_OR_CTRL | Key::KP_0), int32_t(KeyModifierMask::ALT | KeyModifierMask::CMD_OR_CTRL | Key::M) });
8653+
{ int32_t(KeyModifierMask::ALT | KeyModifierMask::CTRL | Key::KP_0),
8654+
int32_t(KeyModifierMask::ALT | KeyModifierMask::CTRL | Key::M),
8655+
int32_t(KeyModifierMask::ALT | KeyModifierMask::CTRL | Key::G) });
8656+
ED_SHORTCUT_OVERRIDE_ARRAY("spatial_editor/align_transform_with_view", "macos",
8657+
{ int32_t(KeyModifierMask::ALT | KeyModifierMask::META | Key::KP_0),
8658+
int32_t(KeyModifierMask::ALT | KeyModifierMask::META | Key::G) });
86548659
ED_SHORTCUT("spatial_editor/align_rotation_with_view", TTR("Align Rotation with View"), KeyModifierMask::ALT + KeyModifierMask::CMD_OR_CTRL + Key::F);
86558660
ED_SHORTCUT("spatial_editor/freelook_toggle", TTR("Toggle Freelook"), KeyModifierMask::SHIFT + Key::F);
86568661
ED_SHORTCUT("spatial_editor/decrease_fov", TTR("Decrease Field of View"), KeyModifierMask::CMD_OR_CTRL + Key::EQUAL); // Usually direct access key for `KEY_PLUS`.

0 commit comments

Comments
 (0)