Afaics, only a single DEG operation node POSE_SPLINE_IK_SOLVER should
be added in this case [ see build_splineik_pose, same is already done
for overlapping IK in build_ik_pose]
rB87b551e83659 is probably related.
ref T82347.
Differential D9471
Fix asserts when two (or more) SplineIK constraints have the same root Authored by Philipp Oeser (lichtwerk) on Nov 5 2020, 4:06 PM. Tags None Subscribers None
Details Afaics, only a single DEG operation node POSE_SPLINE_IK_SOLVER should rB87b551e83659 is probably related. ref T82347.
Diff Detail
Event TimelineComment Actions
--> Assert BLI_assert failed: source/blender/depsgraph/intern/builder/deg_builder_nodes.cc:226, add_operation_node(), at '!"Should not happen!"'
Comment Actions Do you have a simple test file to check the patch? I tried to reproduce the problem by having two Spline IK constraints with overlapping chains, but that doesn't show the error. This is the file I used: Comment Actions In that file, select Bone.007 [the other bone next to Bone.001 having a SplineIK constraint] and change its Chain Length from 4 to 2 [so it corresponds with the Chain Length of 8 of the Bone.001 -- meaning they would end up having the same root] | ||||||