diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-04 12:49:24 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-04 12:49:24 +0300 |
commit | a6999a869ef1db4a758d946564fa001dcaf60f37 (patch) | |
tree | ebc229cf210ac04f1162875db2ed61645013b202 /source | |
parent | c9ad9b260ad014de90b6f4c16af87c274fc951fb (diff) | |
parent | c1287389269cd4b70711d2b55bfeb3b87d695c9a (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc index 6a7f9eaea25..8a2cab2d0fb 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc @@ -100,6 +100,7 @@ void DepsgraphNodeBuilder::build_ik_pose(Object *object, } int rootchan_index = BLI_findindex(&object->pose->chanbase, rootchan); + BLI_assert(rootchan_index != -1); /* Operation node for evaluating/running IK Solver. */ add_operation_node(&object->id, DEG_NODE_TYPE_EVAL_POSE, rootchan->name, function_bind(BKE_pose_iktree_evaluate, @@ -125,6 +126,7 @@ void DepsgraphNodeBuilder::build_splineik_pose(Object *object, * start. */ int rootchan_index = BLI_findindex(&object->pose->chanbase, rootchan); + BLI_assert(rootchan_index != -1); add_operation_node(&object->id, DEG_NODE_TYPE_EVAL_POSE, rootchan->name, function_bind(BKE_pose_splineik_evaluate, _1, |