[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Mesh.c
Campbell Barton
cbarton at metavr.com
Fri Dec 30 10:56:02 CET 2005
campbellbarton (Campbell Barton) 2005/12/30 10:56:02 CET
Modified files:
blender/source/blender/python/api2_2x Mesh.c
Log:
for Mesh_getFromObject made Mesh and Surf types copy the material list to the new mesh.
Still need to do Mball and Text.
Ken- this is fairly straight fwd but if you dont like it - its line 4867 of Mesh.c and 1 block that can be removed.
I tested for memory leaks and correct material user adjustment.
This is realy needed for using getFromObject to export to external rendering engines.
- Hope its ok.
Cam
Revision Changes Path
1.24 +55 -4 blender/source/blender/python/api2_2x/Mesh.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Mesh.c.diff?r1=1.23&r2=1.24&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list