diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-09-13 07:03:46 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-09-13 07:03:46 +0400 |
commit | cca746c8e65503f4a98b1ccaf1110acb793b2b9b (patch) | |
tree | 3f4d8419375463951b902782d64cfc724d58ca9b /source/blender/editors/space_view3d | |
parent | 42524915b5dfee539dea4e7033fb19db883e33c0 (diff) |
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
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawarmature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawarmature.c b/source/blender/editors/space_view3d/drawarmature.c index 6961ada462d..2634dd3ec08 100644 --- a/source/blender/editors/space_view3d/drawarmature.c +++ b/source/blender/editors/space_view3d/drawarmature.c @@ -1538,7 +1538,7 @@ static void draw_pose_dofs(Object *ob) if (bone->flag & BONE_SELECTED) { if (bone->layer & arm->layer) { if (pchan->ikflag & (BONE_IK_XLIMIT | BONE_IK_ZLIMIT)) { - if (ED_pose_channel_in_IK_chain(ob, pchan)) { + if (BKE_pose_channel_in_IK_chain(ob, pchan)) { float corner[4][3], posetrans[3], mat[4][4]; float phi = 0.0f, theta = 0.0f, scale; int a, i; |