From cca746c8e65503f4a98b1ccaf1110acb793b2b9b Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 13 Sep 2013 03:03:46 +0000 Subject: Moved and renamed ED_pose_channel_in_IK_chain() -> BKE_pose_channel_in_IK_chain() This was needed for depsgraph work, and it's cleaner for RNA to have fewer dependencies on editors --- source/blender/blenkernel/BKE_action.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_action.h') diff --git a/source/blender/blenkernel/BKE_action.h b/source/blender/blenkernel/BKE_action.h index 12c9f6b449f..d485632955d 100644 --- a/source/blender/blenkernel/BKE_action.h +++ b/source/blender/blenkernel/BKE_action.h @@ -203,6 +203,9 @@ void BKE_pose_ikparam_init(struct bPose *pose); /* initialize a bItasc structure with default value */ void BKE_pose_itasc_init(struct bItasc *itasc); +/* Checks if a bone is part of an IK chain or not */ +bool BKE_pose_channel_in_IK_chain(struct Object *ob, struct bPoseChannel *pchan); + /* clears BONE_UNKEYED flags for frame changing */ // XXX to be deprecated for a more general solution in animsys... void framechange_poses_clear_unkeyed(void); -- cgit v1.2.3