[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Object.c blender/source/blender/python/api2_2x/doc Object.py
Campbell Barton
cbarton at metavr.com
Mon Feb 27 05:05:55 CET 2006
campbellbarton (Campbell Barton) 2006/02/27 05:05:55 CET
Modified files:
blender/source/blender/python/api2_2x Object.c
blender/source/blender/python/api2_2x/doc Object.py
Log:
Applied JMS's Patch. for better Python Dupli Access.
Made some fixes and changes.
* The matricies returned were wrapped. Wrapping Display Mesh matricies segfaulted sometimes. - Made a copy instead.
* Added 1 missing epydoc from the patch.
* Renamed getDupliMatrices to getDupliObjects, and changed to return a list of (object, matrix) tuples instead of just the matrix. This is much more usefull because it allows python to know what objects are used for dupliGroups and for dupliverts where there is more then 1 child. also cleaned up this function a bit.
Revision Changes Path
1.170 +167 -26 blender/source/blender/python/api2_2x/Object.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Object.c.diff?r1=1.169&r2=1.170&cvsroot=bf-blender>
1.62 +74 -1 blender/source/blender/python/api2_2x/doc/Object.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/Object.py.diff?r1=1.61&r2=1.62&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list