Blender Git Commit Log

Git Commits -> Revision 02e7871

Revision 02e7871 by Campbell Barton (master)
February 20, 2010, 19:49 (GMT)
Mathutils API: Euler support for rotation order.

Examples.
euler = Euler(1, 2, 3)
euler.order = 'ZXY'

euler = matrix.to_euler('XZY')


Still missing rna support. this still wont give the right order, defaulting to XYZ.
eul = object.rotation_euler

Commit Details:

Full Hash: 02e7871149fb369a12725a319cb09accad7790b9
SVN Revision: 27029
Parent Commit: 65a4daf
Lines Changed: +158, -211

10 Modified Paths:

/release/scripts/io/export_fbx.py (+1, -1) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+1, -1) (Diff)
/source/blender/python/generic/euler.c (+68, -95) (Diff)
/source/blender/python/generic/euler.h (+7, -2) (Diff)
/source/blender/python/generic/mathutils.c (+0, -12) (Diff)
/source/blender/python/generic/mathutils.h (+0, -2) (Diff)
/source/blender/python/generic/matrix.c (+36, -37) (Diff)
/source/blender/python/generic/quat.c (+23, -40) (Diff)
/source/blender/python/generic/vector.c (+13, -17) (Diff)
/source/blender/python/intern/bpy_rna.c (+9, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021