diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 03:52:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 03:52:24 +0400 |
commit | 5716762c02b753e3d3320176d41e7c4f13359233 (patch) | |
tree | f4f1462478aebacfb73868a68472809ba9664019 /source/blender/makesdna | |
parent | 347b2571314bc1a8319cfa3daa5637aebae0fd7d (diff) |
fix for changes in own recent commit:
selected linked in face mode was crashing. (needs bmesh operator flags)
also some style edits, remove unused includes and change triangulate modifiers use_beauty to a flag.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 49b0534711e..7078ee0d51c 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1119,10 +1119,14 @@ enum { typedef struct TriangulateModifierData { ModifierData modifier; - int beauty; + int flag; int pad; } TriangulateModifierData; +enum { + MOD_TRIANGULATE_BEAUTY = (1 << 0), +}; + /* Smooth modifier flags */ #define MOD_LAPLACIANSMOOTH_X (1<<1) #define MOD_LAPLACIANSMOOTH_Y (1<<2) |