[Bf-python] bug in object,matrix / object.getMatrix()
Campbell Barton
cbarton at metavr.com
Fri May 14 16:05:59 CEST 2004
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
More information about the Bf-python
mailing list