[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28237] trunk/blender/source/blender/ python/generic: -->Fix for compile on MSVC
Geoffrey Bantle
hairbat at yahoo.com
Fri Apr 16 18:19:36 CEST 2010
Revision: 28237
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28237
Author: briggs
Date: 2010-04-16 18:19:36 +0200 (Fri, 16 Apr 2010)
Log Message:
-----------
-->Fix for compile on MSVC
Expansion of BASE_MATH_MEMBERS macro meant that
two consecutive semicolons were in the source in
most header files that used it.
Modified Paths:
--------------
trunk/blender/source/blender/python/generic/mathutils_color.h
trunk/blender/source/blender/python/generic/mathutils_euler.h
trunk/blender/source/blender/python/generic/mathutils_matrix.h
trunk/blender/source/blender/python/generic/mathutils_quat.h
trunk/blender/source/blender/python/generic/mathutils_vector.h
Modified: trunk/blender/source/blender/python/generic/mathutils_color.h
===================================================================
--- trunk/blender/source/blender/python/generic/mathutils_color.h 2010-04-16 15:25:43 UTC (rev 28236)
+++ trunk/blender/source/blender/python/generic/mathutils_color.h 2010-04-16 16:19:36 UTC (rev 28237)
@@ -37,7 +37,7 @@
#define ColorObject_Check(_v) PyObject_TypeCheck((_v), &color_Type)
typedef struct {
- BASE_MATH_MEMBERS(col);
+ BASE_MATH_MEMBERS(col)
} ColorObject;
/*struct data contains a pointer to the actual data that the
Modified: trunk/blender/source/blender/python/generic/mathutils_euler.h
===================================================================
--- trunk/blender/source/blender/python/generic/mathutils_euler.h 2010-04-16 15:25:43 UTC (rev 28236)
+++ trunk/blender/source/blender/python/generic/mathutils_euler.h 2010-04-16 16:19:36 UTC (rev 28237)
@@ -37,7 +37,7 @@
#define EulerObject_Check(_v) PyObject_TypeCheck((_v), &euler_Type)
typedef struct {
- BASE_MATH_MEMBERS(eul);
+ BASE_MATH_MEMBERS(eul)
unsigned char order; /* rotation order */
} EulerObject;
Modified: trunk/blender/source/blender/python/generic/mathutils_matrix.h
===================================================================
--- trunk/blender/source/blender/python/generic/mathutils_matrix.h 2010-04-16 15:25:43 UTC (rev 28236)
+++ trunk/blender/source/blender/python/generic/mathutils_matrix.h 2010-04-16 16:19:36 UTC (rev 28237)
@@ -37,7 +37,7 @@
#define MATRIX_MAX_DIM 4
typedef struct {
- BASE_MATH_MEMBERS(contigPtr);
+ BASE_MATH_MEMBERS(contigPtr)
unsigned char rowSize;
unsigned int colSize;
Modified: trunk/blender/source/blender/python/generic/mathutils_quat.h
===================================================================
--- trunk/blender/source/blender/python/generic/mathutils_quat.h 2010-04-16 15:25:43 UTC (rev 28236)
+++ trunk/blender/source/blender/python/generic/mathutils_quat.h 2010-04-16 16:19:36 UTC (rev 28237)
@@ -37,7 +37,7 @@
#define QuaternionObject_Check(_v) PyObject_TypeCheck((_v), &quaternion_Type)
typedef struct {
- BASE_MATH_MEMBERS(quat);
+ BASE_MATH_MEMBERS(quat)
} QuaternionObject;
/*struct data contains a pointer to the actual data that the
Modified: trunk/blender/source/blender/python/generic/mathutils_vector.h
===================================================================
--- trunk/blender/source/blender/python/generic/mathutils_vector.h 2010-04-16 15:25:43 UTC (rev 28236)
+++ trunk/blender/source/blender/python/generic/mathutils_vector.h 2010-04-16 16:19:36 UTC (rev 28237)
@@ -37,7 +37,7 @@
#define VectorObject_Check(_v) PyObject_TypeCheck((_v), &vector_Type)
typedef struct {
- BASE_MATH_MEMBERS(vec);
+ BASE_MATH_MEMBERS(vec)
unsigned char size; /* vec size 2,3 or 4 */
} VectorObject;
More information about the Bf-blender-cvs
mailing list