From 5f28ef55748c328fcc7e8db4bacffd8f6b362b71 Mon Sep 17 00:00:00 2001 From: Patryk-Skowronski Date: Fri, 27 Jun 2025 08:02:34 +0000 Subject: [PATCH] NDOF: Removed impact of the auto orbit center on Fly Mode Remove the impact of Auto orbit center preference onto Fly mode. Until now, it was possible to experience dynamic translation speed changes in the Fly mode with Auto preference enabled for the orbit center. This was not desired. Ref !141035 --- .../blender/editors/space_view3d/view3d_navigate_view_ndof.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/editors/space_view3d/view3d_navigate_view_ndof.cc b/source/blender/editors/space_view3d/view3d_navigate_view_ndof.cc index 16d0ebc4d70..b8810cf2fa9 100644 --- a/source/blender/editors/space_view3d/view3d_navigate_view_ndof.cc +++ b/source/blender/editors/space_view3d/view3d_navigate_view_ndof.cc @@ -419,6 +419,9 @@ void view3d_ndof_fly(const wmNDOFMotionData &ndof, static bool ndof_orbit_center_is_auto(const View3D *v3d, const RegionView3D *rv3d) { + if (!NDOF_IS_ORBIT_AROUND_CENTER_MODE(&U)) { + return false; + } if ((U.ndof_flag & NDOF_ORBIT_CENTER_AUTO) == 0) { return false; }