Blender Git Commit Log

Git Commits -> Revision 26932c2

Revision 26932c2 by Joshua Leung (master)
March 1, 2010, 05:19 (GMT)
Bugfix #21384: Bone Driven Shapekeys Child Evaluation Problem

Transform channel drivers for bones in 'localspace' was using the wrong matrix when getting the transforms. I had been assuming that pchan->chan_mat always contained only the matrix-ised transform values stored in the pchan (which is true while constraints are being evaluated, but not afterwards).

Changes:
- Added a new function to calculate this matrix instead of directly writing it on the pchan->chan_matrix field.
- Also, made the normalisation of the quaternion values during this process be done on a temp var instead of on the stored value. This was a constant source of confusion in the past, so let's see if we can do without it now :)

Unrelated to this commit, I've also fixed a compiler warning with previous commit that I missed (missing include).

Commit Details:

Full Hash: 26932c21ebca087ad7b71f1cfa2f7f9e16328a44
SVN Revision: 27200
Parent Commit: da4ab26
Lines Changed: +38, -17

4 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+29, -14) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+7, -3) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021