[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
Fri Dec 30 12:54:53 CET 2005
campbellbarton (Campbell Barton) 2005/12/30 12:54:53 CET
Modified files:
blender/source/blender/python/api2_2x Object.c
blender/source/blender/python/api2_2x/doc Object.py
Log:
Added the function Duplicate to the object module.
Object.Duplicate(linked=1)
Basicly a wrapper for adduplicate();
There was previously no easy way to copy objects in python. even the ways that do exist dont take modifiers, particles etc into account.
Uses the current selection.. epydocs included also.
- Cam
Revision Changes Path
1.151 +31 -1 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.150&r2=1.151&cvsroot=bf-blender>
1.50 +34 -0 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.49&r2=1.50&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list