[Bf-python] bug in object,matrix / object.getMatrix()

Joseph Gilbert models at paposo.com
Sat May 15 05:26:46 CEST 2004


Can you post some code to demonstrate the problem?


-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Campbell Barton
Sent: Friday, May 14, 2004 10:06 AM
To: bf-python at blender.org
Subject: [Bf-python] bug in object,matrix / object.getMatrix()


Hi
Theres a but in object.matix and object.getMatrix()

If you add a whole heap of objects to the scene (Dynamicly create the 
meshs and link them with scene.link() then position them)
Then try to get the matrix it dosent work.
I have an array of objects and they all return the same matrix even tho 
the ob.rot and ob.size and ob.loc all return different values.

A workaround is to use Window.Redraw(), this updates the matrix info.
Took me a while to nut this out.
- Cam
_______________________________________________
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