Blender Git Commit Log

Git Commits -> Revision 4f4bd27

Revision 4f4bd27 by Campbell Barton (master)
November 12, 2010, 02:50 (GMT)
bugfix [#24665] mathutils.Matrix initialization is counter-intuitive and generates bugs
was printing transposed, also nicer printing.

>>> from mathutils import Matrix
>>> Matrix()
Matrix((1.0, 0.0, 0.0, 0.0),
(0.0, 1.0, 0.0, 0.0),
(0.0, 0.0, 1.0, 0.0),
(0.0, 0.0, 0.0, 1.0))

was...
Matrix((1.000000, 0.000000, 0.000000, 0.000000), (0.000000, 1.000000, 0.000000, 0.000000), (0.000000, 0.000000, 1.000000, 0.000000), (0.000000, 0.000000, 0.000000, 1.000000))

Commit Details:

Full Hash: 4f4bd275129f12ef3a8f021d95a5423985752f7b
SVN Revision: 33030
Parent Commit: a34f525
Lines Changed: +21, -14

1 Modified Path:

/source/blender/python/generic/mathutils_Matrix.c (+21, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021