From 8709d4b624653ab404ef69162262f94ee8b3506e Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Mon, 1 Apr 2013 19:31:09 +0000 Subject: Fix for Mesh::drawflag to store ME_DRAW_FREESTYLE_EDGE and ME_DRAW_FREESTYLE_FACE. Problem report from IRIE Shinsuke, many thanks! --- source/blender/makesdna/DNA_mesh_types.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/makesdna/DNA_mesh_types.h') 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 -- cgit v1.2.3