Fix incorrect flag check in gpencil subdiv modifier

This commit is contained in:
Campbell Barton
2019-10-03 06:46:41 +10:00
parent 14114b37e7
commit 6002e2f061

View File

@@ -67,7 +67,7 @@ static void deformStroke(GpencilModifierData *md,
/* It makes sense when adding points to a straight line */
/* e.g. for creating thickness variation in later modifiers. */
const int minimum_vert = (mmd->flag | GP_SUBDIV_SIMPLE) ? 2 : 3;
const int minimum_vert = (mmd->flag & GP_SUBDIV_SIMPLE) ? 2 : 3;
if (!is_stroke_affected_by_modifier(ob,
mmd->layername,