diff options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 50b4739e09f..661799b4256 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -409,7 +409,9 @@ typedef struct BevelModifierData { short miter_outer; /** The method to use for creating >2-way intersections */ short vmesh_method; - char _pad0[2]; + /** Whether to affect vertices or edges. */ + char affect_type; + char _pad; /** Controls profile shape (0->1, .5 is round). */ float profile; /** if the MOD_BEVEL_ANGLE is set, @@ -428,7 +430,9 @@ typedef struct BevelModifierData { /* BevelModifierData->flags and BevelModifierData->lim_flags */ enum { - MOD_BEVEL_VERT = (1 << 1), +#ifdef DNA_DEPRECATED_ALLOW + MOD_BEVEL_VERT_DEPRECATED = (1 << 1), +#endif MOD_BEVEL_INVERT_VGROUP = (1 << 2), MOD_BEVEL_ANGLE = (1 << 3), MOD_BEVEL_WEIGHT = (1 << 4), @@ -489,6 +493,12 @@ enum { MOD_BEVEL_VMESH_CUTOFF = 1, }; +/* BevelModifier->affect_type */ +enum { + MOD_BEVEL_AFFECT_VERTICES = 0, + MOD_BEVEL_AFFECT_EDGES = 1, +}; + typedef struct FluidModifierData { ModifierData modifier; |