diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-08-08 18:16:06 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-08-08 18:16:17 +0300 |
commit | 45ec08dc991c29f60d1ec4a39df7c7364cde631c (patch) | |
tree | 30ad952c6b76eff8770d42aa97032511bd568935 /source/blender/makesrna | |
parent | 179e886ab3d6f8b762ff66c5bb2cb203a4adcb62 (diff) |
GPencil: Add mode Merge to Simplify modifier
This option uses the same logic of the merge by distance but as an option of modifier to allow dynamic merge.
This option will be very useful for LANPR generated strokes.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index ed23e603bec..dfe9e018e94 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -622,6 +622,11 @@ static void rna_def_modifier_gpencilsimplify(BlenderRNA *brna) ICON_IPO_EASE_IN_OUT, "Sample", "Sample a curve using a fixed length"}, + {GP_SIMPLIFY_MERGE, + "MERGE", + ICON_IPO_EASE_IN_OUT, + "Merge", + "Sample a curve using doing merge of vertex"}, {0, NULL, 0, NULL, NULL}, }; |