diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-21 20:48:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-21 20:48:12 +0400 |
commit | 373a1b05beeb50e34064b5308cd33bbd7a555360 (patch) | |
tree | 601d0b6d36b9d96dbe1be9e33b12e3ee9d144aa3 /source | |
parent | 2ecc688e761b9e631f2ab6f6d3654b3d40d81282 (diff) |
own error, was returning the wrong python error type
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Pose.c | 2 |
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" ); |