Fix spin/rotate gizmo not updating view orientation

Check for navigation didn't refresh when navigation was completed.
This commit is contained in:
Campbell Barton 2018-09-20 10:19:10 +10:00
parent 83ac16d241
commit 2c30922e2c
Notes: blender-bot 2023-02-14 07:47:59 +01:00
Referenced by issue #56855, 2.8 crash on Intel processor
2 changed files with 2 additions and 4 deletions

View File

@ -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:

View File

@ -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: