diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 468d7fb0516..23442f8567a 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -1603,11 +1603,7 @@ void Node3DEditorViewport::input(const Ref &p_event) { Ref m = p_event; if (m.is_valid()) { - if (_edit.mode == TRANSFORM_ROTATE) { - _edit.mouse_pos = m->get_position(); // rotate should not wrap - } else { - _edit.mouse_pos += _get_warped_mouse_motion(p_event); - } + _edit.mouse_pos += _get_warped_mouse_motion(p_event); update_transform(_get_key_modifier(m) == Key::SHIFT); } }