You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fixes Node3D rotation in select mode on macOS
(cherry picked from commit 879a290ed9)
This commit is contained in:
committed by
Rémi Verschelde
parent
9a7e537aac
commit
14cea66f23
@@ -1264,7 +1264,7 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
|||||||
clicked = 0;
|
clicked = 0;
|
||||||
clicked_includes_current = false;
|
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 */
|
/* HANDLE ROTATION */
|
||||||
if (get_selected_count() == 0)
|
if (get_selected_count() == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user