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 = 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)
|
||||||
|
|
Loading…
Reference in a new issue