You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-05 17:15:09 +00:00
Fixes Node3D rotation in select mode on macOS
This commit is contained in:
@@ -1279,7 +1279,7 @@ void Node3DEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
|||||||
clicked = ObjectID();
|
clicked = ObjectID();
|
||||||
clicked_includes_current = false;
|
clicked_includes_current = false;
|
||||||
|
|
||||||
if ((spatial_editor->get_tool_mode() == Node3DEditor::TOOL_MODE_SELECT && b->get_control()) || spatial_editor->get_tool_mode() == Node3DEditor::TOOL_MODE_ROTATE) {
|
if ((spatial_editor->get_tool_mode() == Node3DEditor::TOOL_MODE_SELECT && b->get_command()) || spatial_editor->get_tool_mode() == Node3DEditor::TOOL_MODE_ROTATE) {
|
||||||
/* HANDLE ROTATION */
|
/* HANDLE ROTATION */
|
||||||
if (get_selected_count() == 0) {
|
if (get_selected_count() == 0) {
|
||||||
break; //bye
|
break; //bye
|
||||||
|
|||||||
Reference in New Issue
Block a user