Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021