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.
This commit is contained in:
Antonio Vazquez
2019-08-08 17:16:06 +02:00
committed by Antonioya
parent 179e886ab3
commit 45ec08dc99
4 changed files with 15 additions and 1 deletions

View File

@@ -1792,6 +1792,8 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "factor")
elif md.mode == 'SAMPLE':
col.prop(md, "length")
elif md.mode == 'MERGE':
col.prop(md, "length", text="Threshold")
col = layout.column()
col.separator()