Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Dick <hen-di@web.de>2022-03-13 19:21:30 +0300
committerHenrik Dick <hen-di@web.de>2022-03-13 19:21:30 +0300
commita6b5d5bfe83e9d692a268cfbc979df8906391e34 (patch)
tree4144c4686ab6beb519006bd7978f3bf385de6673 /source/blender/gpencil_modifiers
parent70720c42c21265d88e2182eebfe5d6544d197424 (diff)
GPencil: Simplify modifier minimal vert count fix
Lower the minimal vert count for all simplify modes. Differential Revision: http://developer.blender.org/D14319
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c
index 365b9afe348..f94b5d05291 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilsimplify.c
@@ -64,7 +64,7 @@ static void deformStroke(GpencilModifierData *md,
mmd->material,
mmd->pass_index,
mmd->layer_pass,
- mmd->mode == GP_SIMPLIFY_SAMPLE ? 2 : 4,
+ mmd->mode == GP_SIMPLIFY_SAMPLE ? 2 : 3,
gpl,
gps,
mmd->flag & GP_SIMPLIFY_INVERT_LAYER,