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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-04-01 23:31:09 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-04-01 23:31:09 +0400
commit8709d4b624653ab404ef69162262f94ee8b3506e (patch)
treee94c825892cfdf123fff0700ecc9c17bb4df286f /source/blender/makesdna/DNA_mesh_types.h
parenteec0d2ee535825daa323886ed11970adc102a130 (diff)
Fix for Mesh::drawflag to store ME_DRAW_FREESTYLE_EDGE and ME_DRAW_FREESTYLE_FACE.
Problem report from IRIE Shinsuke, many thanks!
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 7cb24b53680..532867a92d0 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -116,7 +116,8 @@ typedef struct Mesh {
float size[3];
float rot[3];
- short texflag, drawflag;
+ int drawflag;
+ short texflag, pad2[3];
short smoothresh, flag;
/* customdata flag, for bevel-weight and crease, which are now optional */
@@ -202,8 +203,8 @@ typedef struct TFace {
/* debug only option */
#define ME_DRAWEXTRA_INDICES (1 << 14)
-#define ME_DRAW_FREESTYLE_EDGE (1 << 14)
-#define ME_DRAW_FREESTYLE_FACE (1 << 15)
+#define ME_DRAW_FREESTYLE_EDGE (1 << 15)
+#define ME_DRAW_FREESTYLE_FACE (1 << 16)
/* Subsurf Type */
#define ME_CC_SUBSURF 0