From 7029810b04c37e8dd0a7256047038fc6f8192309 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Sat, 10 Aug 2019 17:16:12 +0200 Subject: GPencil: Add new Distance property to Simplify modifier Before, the length variable was reused for Sample and Merge Simplify. Now, the Merge has its own distance property and variable in the modifier struct. --- source/blender/makesdna/DNA_gpencil_modifier_types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 82628065014..83ee8be7f68 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -502,8 +502,11 @@ typedef struct SimplifyGpencilModifierData { short step; /** Custom index for passes. */ int layer_pass; - /* Sample length */ + /** Sample length */ float length; + /** Merge distance */ + float distance; + char _pad[4]; } SimplifyGpencilModifierData; typedef enum eSimplifyGpencil_Flag { -- cgit v1.2.3