diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-30 17:48:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-30 17:48:43 +0300 |
commit | c1d6a26842aca53844aed99528c88320c10b56b5 (patch) | |
tree | 74b10c4c27b8e5b9536a778340899a7f2cf035b4 /source/blender/depsgraph | |
parent | 703980889977c65fc34ca6aee8633a714fe0918b (diff) |
Fix T45239: New depsgraph does not work with IK pole target
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_build_relations.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc index 41c8054c53a..2453701e664 100644 --- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc +++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc @@ -1182,7 +1182,7 @@ void DepsgraphRelationBuilder::build_ik_pose(Object *ob, /* Pole Target */ // XXX: this should get handled as part of the constraint code if (data->poletar != NULL) { - if ((data->tar->type == OB_ARMATURE) && (data->subtarget[0])) { + if ((data->poletar->type == OB_ARMATURE) && (data->polesubtarget[0])) { // XXX: same armature issues - ready vs done? ComponentKey target_key(&data->poletar->id, DEPSNODE_TYPE_BONE, data->subtarget); add_relation(target_key, solver_key, DEPSREL_TYPE_TRANSFORM, con->name); |