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 | |
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')
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c | 3 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_gizmo_3d.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c index 4f3f6c76783..c5d948a7a2e 100644 --- a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c +++ b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c @@ -136,8 +136,7 @@ static void gizmo_mesh_spin_init_draw_prepare( float viewinv_m3[3][3]; copy_m3_m4(viewinv_m3, rv3d->viewinv); - /* 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: 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: |