[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42937] trunk/blender/source/blender/ makesdna/DNA_mesh_types.h: fix for recent compile error

Campbell Barton ideasman42 at gmail.com
Wed Dec 28 15:55:50 CET 2011


Revision: 42937
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42937
Author:   campbellbarton
Date:     2011-12-28 14:55:45 +0000 (Wed, 28 Dec 2011)
Log Message:
-----------
fix for recent compile error 

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/DNA_mesh_types.h

Modified: trunk/blender/source/blender/makesdna/DNA_mesh_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_mesh_types.h	2011-12-28 14:28:56 UTC (rev 42936)
+++ trunk/blender/source/blender/makesdna/DNA_mesh_types.h	2011-12-28 14:55:45 UTC (rev 42937)
@@ -68,7 +68,7 @@
 	struct Key *key;
 	struct Material **mat;
 
-#ifdef USE_BMESH_FORWARD_COMPAT
+/*#ifdef USE_BMESH_FORWARD_COMPAT*/ /* XXX - ifdefs dont work here! */
 /* BMESH ONLY */
 	/*new face structures*/
 	struct MPoly *mpoly;
@@ -77,7 +77,7 @@
 	struct MLoopUV *mloopuv;
 	struct MLoopCol *mloopcol;
 /* END BMESH ONLY */
-#endif
+/*#endif*/
 
 	struct MFace *mface;	/* array of mesh object mode faces */
 	struct MTFace *mtface;	/* store face UV's and texture here */
@@ -94,19 +94,19 @@
 
 	struct CustomData vdata, edata, fdata;
 
-#ifdef USE_BMESH_FORWARD_COMPAT
+/*#ifdef USE_BMESH_FORWARD_COMPAT*/ /* XXX - ifdefs dont work here! */
 /* BMESH ONLY */
 	struct CustomData pdata, ldata;
 /* END BMESH ONLY */
-#endif
+/*#endif*/
 
 	int totvert, totedge, totface, totselect;
 
-#ifdef USE_BMESH_FORWARD_COMPAT
+/*#ifdef USE_BMESH_FORWARD_COMPAT*/
 /* BMESH ONLY */
 	int totpoly, totloop;
 /* END BMESH ONLY */
-#endif
+/*#endif*/ /* XXX - ifdefs dont work here! */
 
 	/* the last selected vertex/edge/face are used for the active face however
 	 * this means the active face must always be selected, this is to keep track




More information about the Bf-blender-cvs mailing list