Blender Git Loki

Git Commits -> Revision 31a1590

Revision 31a1590 by Brecht Van Lommel (master)
January 29, 2008, 09:44 (GMT)

Bugfix: quaternion angle calculation in python used the acos function.
This gives nan if the input is e.g. 1.00000001 due to rounding errors,
better is to use saacos (safe acos) that checks for the range first.

Commit Details:

Full Hash: 31a1590db0bbfee2f81052b6eaa845f8ed93e96d
SVN Revision: 13448
Parent Commit: 24aa536
Lines Changed: +5, -8

2 Modified Paths:

/source/blender/python/api2_2x/Mathutils.c (+2, -5) (Diff)
/source/blender/python/api2_2x/quat.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021