[Bf-blender-cvs] [29458316301] master: Depsgraph: Fix fake dependency cycle with chained IK solvers with tip excluded

Sergey Sharybin noreply at git.blender.org
Wed Feb 21 12:06:57 CET 2018


Commit: 2945831630160ad72429c86bd2d87861e37ad378
Author: Sergey Sharybin
Date:   Wed Feb 21 12:04:28 2018 +0100
Branches: master
https://developer.blender.org/rB2945831630160ad72429c86bd2d87861e37ad378

Depsgraph: Fix fake dependency cycle with chained IK solvers with tip excluded

Not sure why we need a relation from solver to a tip local transform, this
will be handled via parent relation.

Fixes remaining dependency cycles reported in T54083.

===================================================================

M	source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
index 30d77a968eb..0e78ed61e5c 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
@@ -181,9 +181,6 @@ void DepsgraphRelationBuilder::build_ik_pose(Object *object,
 	bPoseChannel *parchan = pchan;
 	/* exclude tip from chain? */
 	if (!(data->flag & CONSTRAINT_IK_TIP)) {
-		OperationKey tip_transforms_key(&object->id, DEG_NODE_TYPE_BONE,
-		                                parchan->name, DEG_OPCODE_BONE_LOCAL);
-		add_relation(solver_key, tip_transforms_key, "IK Solver Result");
 		parchan = pchan->parent;
 	}



More information about the Bf-blender-cvs mailing list