[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55706] branches/soc-2008-mxcurioni/source /blender/makesdna/DNA_mesh_types.h: Fix for Mesh:: drawflag to store ME_DRAW_FREESTYLE_EDGE and ME_DRAW_FREESTYLE_FACE.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Mon Apr 1 21:31:10 CEST 2013


Revision: 55706
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55706
Author:   kjym3
Date:     2013-04-01 19:31:09 +0000 (Mon, 01 Apr 2013)
Log Message:
-----------
Fix for Mesh::drawflag to store ME_DRAW_FREESTYLE_EDGE and ME_DRAW_FREESTYLE_FACE.
Problem report from IRIE Shinsuke, many thanks!

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_mesh_types.h

Modified: branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_mesh_types.h
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_mesh_types.h	2013-04-01 18:32:19 UTC (rev 55705)
+++ branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_mesh_types.h	2013-04-01 19:31:09 UTC (rev 55706)
@@ -116,7 +116,8 @@
 	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 @@
 /* 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




More information about the Bf-blender-cvs mailing list