[Bf-python] Bug in Mathutils

Joseph Gilbert models at paposo.com
Thu May 6 11:54:53 CEST 2004


invert() returns pyNone, but does the math internally. if you do
M=Blender.Mathutils.Matrix([1.,1.,1.],[1.,1.,0],[0,1.,0])
print M
M.invert()
print M

it should work.

-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Carlos López
Sent: Thursday, May 06, 2004 5:48 AM
To: bf-python at blender.org
Subject: RE: [Bf-python] Bug in Mathutils


As simple as this:

M=Blender.Mathutils.Matrix([1.,1.,1.],[1.,1.,0],[0,1.,0])
print M                 #prints the matrix
print M.invert()        #prints 'None'


Klópes
_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://www.blender.org/mailman/listinfo/bf-python





More information about the Bf-python mailing list