Blender Git Loki

Git Commits -> Revision 6a59e12

Revision 6a59e12 by Alexander Gavrilov (master)
April 14, 2019, 15:59 (GMT)
Fix T59622: dependency problems with Spline IK.

The bug is caused by problems in the dependency graph. Unfortunately,
fixing is not just a matter of fixing the graph, because correct
dependencies would cause a cycle here and in other reasonable use
cases. The real fix thus requires refactoring Spline IK to require
curve data only in the actual evaluation phase, and not in POSE_INIT_IK.

In addition, this separates the normal bone evaluation loop from
Spline IK computations for two reasons:

- That still needs to be done even if spline IK can't evaluate
due to missing curve data.

- It should reduce issues with induced shearing, as Spline IK now
controls how parent-child relations are handled in the chain, and
can take care to only carry over rotation and location.

Commit Details:

Full Hash: 6a59e123649105a07316c87ac4dcc78a87fed532
Parent Commit: 3380fb3
Lines Changed: +114, -111

2 Modified Paths:

/source/blender/blenkernel/intern/armature_update.c (+97, -82) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc (+17, -29) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021