Cleanup: quiet warning -Wparentheses

This commit is contained in:
Campbell Barton 2019-09-16 04:34:31 +10:00
parent 00319df9fc
commit b043bef000
Notes: blender-bot 2023-02-14 00:47:25 +01:00
Referenced by issue #69945, Eevee showing wrong materials after opening in 2.81
Referenced by issue #69932, Mode switches for Transform Sculpt Tools
Referenced by issue #69926, Sculpt Mode always shows triangles, also on quad-poly models
1 changed files with 1 additions and 1 deletions

View File

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