diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-17 23:50:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-18 02:52:00 +0300 |
commit | 22931f2f9f35c2f227639a534ced53fece57a8a6 (patch) | |
tree | e3c335ff3b91d5ec6c34122f40a0abda73f500ad /source/blender/makesdna/DNA_modifier_types.h | |
parent | d6f9ba76a5cee06aa9ec795b4611216434a1a9cf (diff) |
BMesh: symmetry aware decimate
Support for decimating while maintaining symmetry on a single axis.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-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 67ec9fe3db3..6f07d18953e 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -430,7 +430,7 @@ typedef struct DecimateModifierData { float percent; /* (mode == MOD_DECIM_MODE_COLLAPSE) */ short iter; /* (mode == MOD_DECIM_MODE_UNSUBDIV) */ char delimit; /* (mode == MOD_DECIM_MODE_DISSOLVE) */ - char pad; + char symmetry_axis; /* (mode == MOD_DECIM_MODE_COLLAPSE) */ float angle; /* (mode == MOD_DECIM_MODE_DISSOLVE) */ char defgrp_name[64]; /* MAX_VGROUP_NAME */ @@ -445,6 +445,7 @@ enum { MOD_DECIM_FLAG_INVERT_VGROUP = (1 << 0), MOD_DECIM_FLAG_TRIANGULATE = (1 << 1), /* for collapse only. dont convert tri pairs back to quads */ MOD_DECIM_FLAG_ALL_BOUNDARY_VERTS = (1 << 2), /* for dissolve only. collapse all verts between 2 faces */ + MOD_DECIM_FLAG_SYMMETRY = (1 << 3), }; enum { |