[Bf-blender-cvs] [32bdfa0e065] vr_scene_inspection: Remove temporary hack to allow forcing gizmo redraws through anim play

Julian Eisel noreply at git.blender.org
Tue Mar 10 17:27:08 CET 2020


Commit: 32bdfa0e065541db4df18fea97289c026c6809f9
Author: Julian Eisel
Date:   Tue Mar 10 17:26:39 2020 +0100
Branches: vr_scene_inspection
https://developer.blender.org/rB32bdfa0e065541db4df18fea97289c026c6809f9

Remove temporary hack to allow forcing gizmo redraws through anim play

===================================================================

M	source/blender/windowmanager/gizmo/intern/wm_gizmo.c

===================================================================

diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c
index 10ba692f958..e2fb4dc3e0e 100644
--- a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c
+++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c
@@ -771,9 +771,7 @@ bool WM_gizmo_context_check_drawstep(const struct bContext *C, eWM_GizmoFlagMapD
     case WM_GIZMOMAP_DRAWSTEP_3D: {
       wmWindowManager *wm = CTX_wm_manager(C);
       if (ED_screen_animation_playing(wm)) {
-        /* XXX Let gizmos draw while animation is playing, as a hack to force VR view gizmos to
-         * redraw continuously. */
-        // return false;
+        return false;
       }
       break;
     }



More information about the Bf-blender-cvs mailing list