diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-08-10 18:16:12 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-08-10 18:16:12 +0300 |
commit | 7029810b04c37e8dd0a7256047038fc6f8192309 (patch) | |
tree | 7410afe5d87124d5cf8fd36c3ed7165923c0be72 /source/blender/makesdna/DNA_gpencil_modifier_types.h | |
parent | 745f773d92b6d1aa65154a899ba3a5293fa75d4d (diff) |
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.
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |