Blender Git Commit Log

Git Commits -> Revision d851fc3

Revision d851fc3 by Sebastian Parborg (master)
April 13, 2021, 17:18 (GMT)
Fix T77330, T81704: Spline IK doesn't preserve bone scale correctly

Previously, the bone position outside of "fit to curve length" mode was
incorrect.

It assumed that the curve was completely straight with no bends or
turns. This would lead to bones being scaled down as their final
position would be servery underestimated in some cases.

The solution is to do a sphere -> curve intersection test to see where
to put the bones while still preserving their length. As we are using
the tessellated curve data this essentially boils down to us doing a
sphere -> line intersection check.

Reviewed By: Sybren

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

Commit Details:

Full Hash: d851fc3ad6770a5634db8ca41aaa1267c7155245
Parent Commit: 5936ef9
Lines Changed: +356, -204

1 Modified Path:

/source/blender/blenkernel/intern/armature_update.c (+356, -204) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021