diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2006-05-14 22:24:11 +0400 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2006-05-14 22:24:11 +0400 |
commit | d305965b3d39ed7c8012b41ab22785a5125143aa (patch) | |
tree | 21ba0226456154b2cb509fe1698c0a3d50962ab6 /source/blender/python/api2_2x/Pose.h | |
parent | 1b7f9dfee636a02e34e7acdd8416415e12aee571 (diff) |
*applying patch
[ #4143 ] Methods for reading bone movement limits
Submitted By:
Aron Cristian (criller)
Gives the ability to return/set the limitations on a posebone when that bone is part of an IK chain.
Diffstat (limited to 'source/blender/python/api2_2x/Pose.h')
-rw-r--r-- | source/blender/python/api2_2x/Pose.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Pose.h b/source/blender/python/api2_2x/Pose.h index dc90c8820f0..0eb046c94cd 100644 --- a/source/blender/python/api2_2x/Pose.h +++ b/source/blender/python/api2_2x/Pose.h @@ -33,6 +33,7 @@ #include <Python.h> #include "DNA_action_types.h" +#include "DNA_object_types.h" //-------------------TYPE CHECKS--------------------------------- #define PoseObject_Check(v) ((v)->ob_type == &Pose_Type) @@ -65,4 +66,5 @@ typedef struct { PyObject *Pose_Init(void); PyObject *PyPose_FromPose(bPose *pose, char *name); PyObject *PyPoseBone_FromPosechannel(bPoseChannel *pchan); +Object *Object_FromPoseChannel(bPoseChannel *curr_pchan); #endif |