Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-10-21 20:48:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-10-21 20:48:12 +0400
commit373a1b05beeb50e34064b5308cd33bbd7a555360 (patch)
tree601d0b6d36b9d96dbe1be9e33b12e3ee9d144aa3 /source/blender
parent2ecc688e761b9e631f2ab6f6d3654b3d40d81282 (diff)
own error, was returning the wrong python error type
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/python/api2_2x/Pose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Pose.c b/source/blender/python/api2_2x/Pose.c
index a92afaae1e8..2f1eb0252a4 100644
--- a/source/blender/python/api2_2x/Pose.c
+++ b/source/blender/python/api2_2x/Pose.c
@@ -738,7 +738,7 @@ static int PoseBone_setPoseMatrix(BPy_PoseBone *self, MatrixObject *value, void
"expected matrix object as argument" );
if( value->colSize != 4 || value->rowSize != 4 )
- return (int) EXPP_ReturnPyObjError( PyExc_AttributeError,
+ return EXPP_ReturnIntError( PyExc_AttributeError,
"matrix must be a 4x4 transformation matrix\n"
"for example as returned by object.matrixWorld" );