diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2006-01-13 19:19:11 +0300 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2006-01-13 19:19:11 +0300 |
commit | 144e3f827d9a769d24c9b6784dfe932702260ac7 (patch) | |
tree | d3f863af512c58b0c7618da2bf3a714549206abe /source/blender/python/api2_2x/Pose.c | |
parent | 1a4c31442f7855829505b873fbb96fe3ee0d1771 (diff) |
* [ #3746 ] Calling getPose on a mesh object generates "RuntimeError: Pose - Error: PyPose_FromPose: Internal Error Ocurred"
- added returns where appropriate.
Diffstat (limited to 'source/blender/python/api2_2x/Pose.c')
-rw-r--r-- | source/blender/python/api2_2x/Pose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Pose.c b/source/blender/python/api2_2x/Pose.c index 482ec48e8f3..dda0bf90610 100644 --- a/source/blender/python/api2_2x/Pose.c +++ b/source/blender/python/api2_2x/Pose.c @@ -911,7 +911,7 @@ PyObject *PyPose_FromPose(bPose *pose, char *name) return (PyObject*)py_pose; }else{ - EXPP_incr_ret(Py_None); + return EXPP_incr_ret(Py_None); } RuntimeError: @@ -931,7 +931,7 @@ PyObject *PyPoseBone_FromPosechannel(bPoseChannel *pchan) py_posechannel->posechannel = pchan; return (PyObject*)py_posechannel; }else{ - EXPP_incr_ret(Py_None); + return EXPP_incr_ret(Py_None); } RuntimeError: |