Gpencil: Simplify modifier sample mode minimal vert count fix.

For this mode is possible use strokes of 2 points.

Differential revision: https://developer.blender.org/D8138
This commit is contained in:
Antonio Vazquez 2020-07-14 15:59:40 +02:00
parent c8a62e4f50
commit 8e9dd5492a
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ static void deformStroke(GpencilModifierData *md,
mmd->material,
mmd->pass_index,
mmd->layer_pass,
mmd->mode == GP_SIMPLIFY_SAMPLE ? 3 : 4,
mmd->mode == GP_SIMPLIFY_SAMPLE ? 2 : 4,
gpl,
gps,
mmd->flag & GP_SIMPLIFY_INVERT_LAYER,