[Bf-blender-cvs] [2c30922e2c6] blender2.8: Fix spin/rotate gizmo not updating view orientation
Campbell Barton
noreply at git.blender.org
Thu Sep 20 02:07:34 CEST 2018
Commit: 2c30922e2c64b90015a121d8efea2c2743376666
Author: Campbell Barton
Date: Thu Sep 20 10:19:10 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB2c30922e2c64b90015a121d8efea2c2743376666
Fix spin/rotate gizmo not updating view orientation
Check for navigation didn't refresh when navigation was completed.
===================================================================
M source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c
M source/blender/editors/transform/transform_gizmo_3d.c
===================================================================
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:
More information about the Bf-blender-cvs
mailing list