Commit: 7199b51f7264692c42420e6e1a38bdc3e8c522a8
Author: Campbell Barton
Date:   Mon Sep 16 04:34:31 2019 +1000
Branches: temp-lanpr-cleanup
https://developer.blender.org/rB7199b51f7264692c42420e6e1a38bdc3e8c522a8

Cleanup: quiet warning -Wparentheses

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

M       source/blender/draw/engines/gpencil/gpencil_draw_utils.c

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c 
b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index a73c24d2892..aacddd074aa 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -1185,7 +1185,7 @@ static void gpencil_draw_strokes(GpencilBatchCache *cache,
       }
     }
 
-    if ((gpl->actframe) && (gpl->actframe->framenum == gpf->framenum) || 
(!is_multiedit) ||
+    if ((gpl->actframe && (gpl->actframe->framenum == gpf->framenum)) || 
(!is_multiedit) ||
         (overlay_multiedit)) {
       /* hide any blend layer */
       if ((!stl->storage->simplify_blend) || (gpl->blend_mode == 
eGplBlendMode_Regular)) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to