Skip to content

Commit f851db1

Browse files
committed
Merge pull request #110068 from ktxyz/fix-editor3d-snap-with-cmd-macos
fix: macOS cmd + drag snapping not working for 3D editor Move, Rotate and Scale tool
2 parents 532b201 + 167cf79 commit f851db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/scene/3d/node_3d_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8385,7 +8385,7 @@ void Node3DEditor::shortcut_input(const Ref<InputEvent> &p_event) {
83858385
return;
83868386
}
83878387

8388-
snap_key_enabled = Input::get_singleton()->is_key_pressed(Key::CTRL);
8388+
snap_key_enabled = Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL);
83898389
}
83908390

83918391
void Node3DEditor::_sun_environ_settings_pressed() {

0 commit comments

Comments
 (0)