Blender Git Loki

Git Commits -> Revision fb8ea90

Revision fb8ea90 by Gaia Clary (collada2.8)
August 2, 2018, 15:58 (GMT)
Refactor Collada: BCMatrix is now decomposed on init

Previously the BCMatrix object was decomposed when needed the first time.
But since the decomposition is done always for every single Matrix,
we can do it right upon construction with the additional benefit that
we can handle euler rotations nicer, see

void BCMatrix::set_transform(Object *ob)

There we now can use quat_to_compatible_eul() to avoid axis flipping
during exporting of object transforms. (todo: apply this also for
bone animations)

Commit Details:

Full Hash: fb8ea90a46136246dc1ec203da51e40996bde308
Parent Commit: b32de88
Lines Changed: +44, -39

3 Modified Paths:

/source/blender/collada/BCAnimationCurveContainer.cpp (+1, -1) (Diff)
/source/blender/collada/BCSampleData.cpp (+37, -30) (Diff)
/source/blender/collada/BCSampleData.h (+6, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021