diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-22 19:39:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-22 19:39:06 +0400 |
commit | 3526ae98055d28ac27f1e9b5d8b76d7597905e99 (patch) | |
tree | ed93bc8e349cc0306a494320c0efe14e66d69ec5 /source/blender/makesdna/DNA_modifier_types.h | |
parent | 63f042250f22eb6a60604f04e0b6955124cd34b4 (diff) |
add vertex group option to decimate modifier, handy if you want to pin some parts of the geometry.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index fe82d27cfa8..05c1871ae41 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -362,9 +362,16 @@ typedef struct DecimateModifierData { ModifierData modifier; float percent; - int faceCount; + int faceCount; /* runtime only */ + + char defgrp_name[64]; /* MAX_VGROUP_NAME */ + int flag, pad; } DecimateModifierData; +enum { + MOD_DECIM_INVERT_VGROUP = (1 << 0) +}; + /* Smooth modifier flags */ #define MOD_SMOOTH_X (1<<1) #define MOD_SMOOTH_Y (1<<2) |