Blender Git Loki

Git Commits -> Revision 34c7dbd

Revision 34c7dbd by Campbell Barton (master)
February 26, 2019, 13:11 (GMT)
BLI_math: quat_to_axis_angle was zeroing the axis

When there was no rotation the axis was zerod,
while not exactly a bug, it means changing the angle does nothing
and all axis-angle values are initialized with Y=1,
use this convention when resetting the axis too.

Commit Details:

Full Hash: 34c7dbdd7d598949d54b73a40828c951e209b8a6
Parent Commit: 15edae6
Lines Changed: +3, -0

1 Modified Path:

/source/blender/blenlib/intern/math_rotation.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021