bugfix [#24665] mathutils.Matrix initialization is counter-intuitive and generates...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 12 Nov 2010 02:50:57 +0000 (02:50 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 12 Nov 2010 02:50:57 +0000 (02:50 +0000)
commit4f4bd275129f12ef3a8f021d95a5423985752f7b
treeb54a11bc5644b22b4f25ec965a47c5c73be1cfdd
parenta34f525a21eff2ec1f5691ce3ec2056408bacd5d
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))
source/blender/python/generic/mathutils_matrix.c