diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-02 23:46:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-03 00:32:28 +0300 |
commit | 6002e2f061b842ce4de187c1f40e7b6dbfa0f95a (patch) | |
tree | 9a1276feaa3cbeb5b1077c6ece413762d18cf306 /source/blender | |
parent | 14114b37e7361a603d05e029336dde48f21cdd6a (diff) |
Fix incorrect flag check in gpencil subdiv modifier
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c index ce75ca59fe1..107e1922d25 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilsubdiv.c @@ -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, |