[Bf-blender-cvs] [b043bef000e] master: Cleanup: quiet warning -Wparentheses

Campbell Barton noreply at git.blender.org
Sun Sep 15 20:35:23 CEST 2019


Commit: b043bef000e9bf1c240ed67a19e5bec8ecbdd4b6
Author: Campbell Barton
Date:   Mon Sep 16 04:34:31 2019 +1000
Branches: master
https://developer.blender.org/rBb043bef000e9bf1c240ed67a19e5bec8ecbdd4b6

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)) {



More information about the Bf-blender-cvs mailing list