From 8e9dd5492a60414ce0d1d79d4e08f05c83d50bc8 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Tue, 14 Jul 2020 15:59:40 +0200 Subject: [PATCH] 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 --- source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c index 8d4556421eb..1e75c5926cd 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c @@ -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,