[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45290] trunk/blender/source/blender/ python/mathutils: check from last commit was inverted,
Campbell Barton
ideasman42 at gmail.com
Fri Mar 30 13:40:39 CEST 2012
Revision: 45290
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45290
Author: campbellbarton
Date: 2012-03-30 11:40:38 +0000 (Fri, 30 Mar 2012)
Log Message:
-----------
check from last commit was inverted,
Modified Paths:
--------------
trunk/blender/source/blender/python/mathutils/mathutils.c
trunk/blender/source/blender/python/mathutils/mathutils_Color.c
trunk/blender/source/blender/python/mathutils/mathutils_Euler.c
trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c
trunk/blender/source/blender/python/mathutils/mathutils_Quaternion.c
trunk/blender/source/blender/python/mathutils/mathutils_Vector.c
Modified: trunk/blender/source/blender/python/mathutils/mathutils.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils.c 2012-03-30 11:35:58 UTC (rev 45289)
+++ trunk/blender/source/blender/python/mathutils/mathutils.c 2012-03-30 11:40:38 UTC (rev 45290)
@@ -286,7 +286,7 @@
int mathutils_deepcopy_args_check(PyObject *args)
{
PyObject *dummy_pydict;
- return PyArg_ParseTuple(args, "|O!:__deepcopy__", &PyDict_Type, &dummy_pydict) == 0;
+ return PyArg_ParseTuple(args, "|O!:__deepcopy__", &PyDict_Type, &dummy_pydict) != 0;
}
/* Mathutils Callbacks */
Modified: trunk/blender/source/blender/python/mathutils/mathutils_Color.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Color.c 2012-03-30 11:35:58 UTC (rev 45289)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Color.c 2012-03-30 11:40:38 UTC (rev 45290)
@@ -109,7 +109,7 @@
}
static PyObject *Color_deepcopy(ColorObject *self, PyObject *args)
{
- if (mathutils_deepcopy_args_check(args))
+ if (!mathutils_deepcopy_args_check(args))
return NULL;
return Color_copy(self);
}
Modified: trunk/blender/source/blender/python/mathutils/mathutils_Euler.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Euler.c 2012-03-30 11:35:58 UTC (rev 45289)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Euler.c 2012-03-30 11:40:38 UTC (rev 45290)
@@ -301,7 +301,7 @@
}
static PyObject *Euler_deepcopy(EulerObject *self, PyObject *args)
{
- if (mathutils_deepcopy_args_check(args))
+ if (!mathutils_deepcopy_args_check(args))
return NULL;
return Euler_copy(self);
}
Modified: trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c 2012-03-30 11:35:58 UTC (rev 45289)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Matrix.c 2012-03-30 11:40:38 UTC (rev 45290)
@@ -1522,7 +1522,7 @@
}
static PyObject *Matrix_deepcopy(MatrixObject *self, PyObject *args)
{
- if (mathutils_deepcopy_args_check(args))
+ if (!mathutils_deepcopy_args_check(args))
return NULL;
return Matrix_copy(self);
}
Modified: trunk/blender/source/blender/python/mathutils/mathutils_Quaternion.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Quaternion.c 2012-03-30 11:35:58 UTC (rev 45289)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Quaternion.c 2012-03-30 11:40:38 UTC (rev 45290)
@@ -481,7 +481,7 @@
}
static PyObject *Quaternion_deepcopy(QuaternionObject *self, PyObject *args)
{
- if (mathutils_deepcopy_args_check(args))
+ if (!mathutils_deepcopy_args_check(args))
return NULL;
return Quaternion_copy(self);
}
Modified: trunk/blender/source/blender/python/mathutils/mathutils_Vector.c
===================================================================
--- trunk/blender/source/blender/python/mathutils/mathutils_Vector.c 2012-03-30 11:35:58 UTC (rev 45289)
+++ trunk/blender/source/blender/python/mathutils/mathutils_Vector.c 2012-03-30 11:40:38 UTC (rev 45290)
@@ -1214,7 +1214,7 @@
}
static PyObject *Vector_deepcopy(VectorObject *self, PyObject *args)
{
- if (mathutils_deepcopy_args_check(args))
+ if (!mathutils_deepcopy_args_check(args))
return NULL;
return Vector_copy(self);
}
More information about the Bf-blender-cvs
mailing list