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:
authorAntonio Vazquez <blendergit@gmail.com>2019-08-10 18:16:12 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-08-10 18:16:12 +0300
commit7029810b04c37e8dd0a7256047038fc6f8192309 (patch)
tree7410afe5d87124d5cf8fd36c3ed7165923c0be72 /source/blender/makesdna/DNA_gpencil_modifier_types.h
parent745f773d92b6d1aa65154a899ba3a5293fa75d4d (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.h5
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 {