diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-14 06:01:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-14 06:01:24 +0300 |
commit | 5c5a80f6443e97eb38717b108e7797589dda34d7 (patch) | |
tree | d99416d0b1e0a1ef68267faeb0ec55408dc289a8 /source/blender/python/api2_2x/Object.c | |
parent | d3ae4b9944c17e14a489255901a32dc8a77246e5 (diff) |
made all python types that can do .__copy__(), also do .copy()
added copy function to lamp, texture and ipo types
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 600de0b7ba0..50f92474018 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -756,10 +756,12 @@ works only if self and the object specified are of the same type."}, "([s1<,s2,s3...>]) - Delete specified scriptlinks from this object."}, {"insertShapeKey", ( PyCFunction ) Object_insertShapeKey, METH_NOARGS, "() - Insert a Shape Key in the current object"}, - {"__copy__", ( PyCFunction ) Object_copy, METH_NOARGS, - "() - Return a copy of this object."}, {"getProperties", ( PyCFunction ) Object_GetProperties, METH_NOARGS, "() return a reference to the ID properties associated with this object."}, + {"__copy__", ( PyCFunction ) Object_copy, METH_NOARGS, + "() - Return a copy of this object."}, + {"copy", ( PyCFunction ) Object_copy, METH_NOARGS, + "() - Return a copy of this object."}, {NULL, NULL, 0, NULL} }; |