Blender Git Loki

Git Commits -> Revision bdb12f2

Revision bdb12f2 by Ton Roosendaal (master)
August 13, 2006, 10:03 (GMT)
Bugfix #4843 revisited

This is a new incarnation of compatible_eul(), a function called:

void Mat3ToCompatibleEul(float mat[][3], float *eul, float *oldrot)

It uses the two euler extraction methods as added by Brecht a while ago,
and checks for compatibility each, and then picks the best of the two
based on minimal difference with 'oldrot'.

Gives for rotation key inserting a much higher hitrate for OK eulers.

Commit Details:

Full Hash: bdb12f23cf068680ffdd5675db6587dc31e5fc73
SVN Revision: 8313
Parent Commit: e3d78dd
Lines Changed: +52, -54

3 Modified Paths:

/source/blender/blenlib/BLI_arithb.h (+3, -5) (Diff)
/source/blender/blenlib/intern/arithb.c (+45, -43) (Diff)
/source/blender/src/transform.c (+4, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021