diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-20 03:19:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-20 03:19:59 +0300 |
commit | 2c30922e2c64b90015a121d8efea2c2743376666 (patch) | |
tree | 08c1f7c526a782c82b5f5a12567afd8dc89b6a2b /source/blender/editors/transform/transform_gizmo_3d.c | |
parent | 83ac16d241f44e34d1d5d77641b44dab5e4c7401 (diff) |
Fix spin/rotate gizmo not updating view orientation
Check for navigation didn't refresh when navigation was completed.
Diffstat (limited to 'source/blender/editors/transform/transform_gizmo_3d.c')
-rw-r--r-- | source/blender/editors/transform/transform_gizmo_3d.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c index 577e899a40f..1f22e7dfb7d 100644 --- a/source/blender/editors/transform/transform_gizmo_3d.c +++ b/source/blender/editors/transform/transform_gizmo_3d.c @@ -1855,8 +1855,7 @@ static void WIDGETGROUP_xform_cage_draw_prepare(const bContext *C, wmGizmoGroup } RegionView3D *rv3d = CTX_wm_region_view3d(C); - /* Avoid slowdown on view adjustments. */ - if ((rv3d->rflag & RV3D_NAVIGATING) == 0) { + { Scene *scene = CTX_data_scene(C); switch (scene->orientation_type) { case V3D_MANIP_VIEW: |