mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Fixes Node3D rotation in select mode on macOS
(cherry picked from commit 879a290ed9)
This commit is contained in:
parent
9a7e537aac
commit
14cea66f23
1 changed files with 1 additions and 1 deletions
|
|
@ -1264,7 +1264,7 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
|||
clicked = 0;
|
||||
clicked_includes_current = false;
|
||||
|
||||
if ((spatial_editor->get_tool_mode() == SpatialEditor::TOOL_MODE_SELECT && b->get_control()) || spatial_editor->get_tool_mode() == SpatialEditor::TOOL_MODE_ROTATE) {
|
||||
if ((spatial_editor->get_tool_mode() == SpatialEditor::TOOL_MODE_SELECT && b->get_command()) || spatial_editor->get_tool_mode() == SpatialEditor::TOOL_MODE_ROTATE) {
|
||||
|
||||
/* HANDLE ROTATION */
|
||||
if (get_selected_count() == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue