Blender Git Commit Log

Git Commits -> Revision c23dbcf

Revision c23dbcf by Alexander Gavrilov (master)
November 21, 2019, 17:10 (GMT)
Bones: implement a new Aligned Inherit Scale mode.

Implement one more way of inheriting scale from the parent
bone, as an addition to the choices introduced in D5588.

This new mode inherits parent scale as if the parent and child
were not rotated relative to each other, always applying parent
X scale to child X scale and so forth. It is quite natural for
connected bone chains with coherent roll, like limbs or tentacles,
falling roughly between Average and Fix Shear in how closely
the parent scaling is followed.

Currently this can be achieved by using Inherit Scale: None plus
a Copy Scale with Offset from parent on the child; however, this
is cumbersome, and loses the distinction between true local and
inherited scale in the child's Local space.

This new mode also matches how the Before/After Original mix
modes work in the Copy Transforms constraint.

On the technical side this mode requires adding a right side
scale matrix multiplication into the Local<->Pose conversion,
in addition to the existing two left side matrices used for
location and orientation.

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

Commit Details:

Full Hash: c23dbcf37d9ffed4d443e0f9ce36f14854a52009
Parent Commit: 6c9be3b
Lines Changed: +25, -0

4 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+16, -0) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021