diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-04 12:49:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-04 19:56:11 +0300 |
commit | 455ca1b28f140482f2834c9bba0adc730aff6637 (patch) | |
tree | 33203edd53c9bbc8b0b8cd8a897487952597c298 /source/blender/makesdna | |
parent | c64f491f9f45d802bc3a3cb168255dc680ea0d13 (diff) |
BMesh decimate, improve behavior with weights
Add slider to adjust the influence of weights relative to geometry distortion.
This allows subtle influences to be applied - without drastic changes in behavior.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index f3c61f0ab6c..1fc66b9b016 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -431,10 +431,11 @@ typedef struct DecimateModifierData { float angle; /* (mode == MOD_DECIM_MODE_DISSOLVE) */ char defgrp_name[64]; /* MAX_VGROUP_NAME */ + float defgrp_factor; short flag, mode; /* runtime only */ - int face_count, pad2; + int face_count; } DecimateModifierData; enum { |