Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-20 03:52:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-20 03:52:24 +0400
commit5716762c02b753e3d3320176d41e7c4f13359233 (patch)
treef4f1462478aebacfb73868a68472809ba9664019 /source/blender/makesdna/DNA_modifier_types.h
parent347b2571314bc1a8319cfa3daa5637aebae0fd7d (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/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h6
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)