[Bf-python] getMatrix('worldspace') patch for bf-blender

Campbell Barton cbarton at metavr.com
Fri Jun 25 15:25:08 CEST 2004


Hi, heres a patch for BF-Blender cvs so you can the the worldspace 
matrix of an object.

by ob.getMatrix('worldspace')

ob.getMatrix() - Still works as it used to.

The only clunky thing about this is I had to add a function

getMatrixInternal(ob) # For the class variables since they cant pass a 
python arg to ob.getMatrix().

- Cam
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getMatrix_worldspace.txt
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20040625/88e6cbbf/attachment.txt>


More information about the Bf-python mailing list