Blender Git Commit Log

Git Commits -> Revision 9a7f5f1

Revision 9a7f5f1 by Sebastian Parborg (master)
April 10, 2020, 12:01 (GMT)
Fix T67232: Multiples targetless IKs in a chain gives weird behaviour (known as FakeIK for FK posing)

The issue was that the deps graph relation builder assumed that all
bones that had a IK constraint on them would be evaluated. However for
targetless IK bones, only the active bone would receive updates and the
others would be skipped (as those would be treated as if the IK
constraint was disabled).

I didn't see an easy way to solve this from the depsgraph side of
things.

Instead I came up with a solution that I feel is quite strait forward
and reflects what is actually supposed to happen under the hood.

Now all targetless IK constraints are treated as disabled and will not
be added to any relations in the depsgraph.

Instead, a temporary IK constraint will be created when the bone in
question is transformed. This is basically activating "Auto IK" for the
bone while transforming.

Reviewed By: Sergey, Brecht

Differential Revision: https://developer.blender.org/D7378

Commit Details:

Full Hash: 9a7f5f1bb42292eeb70b4832e7883846df0cb76a
Parent Commit: 9c5b054
Lines Changed: +52, -20

2 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc (+6, -0) (Diff)
/source/blender/editors/transform/transform_convert_armature.c (+46, -20) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021