Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-03-14 06:01:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-14 06:01:24 +0300
commit5c5a80f6443e97eb38717b108e7797589dda34d7 (patch)
treed99416d0b1e0a1ef68267faeb0ec55408dc289a8 /source/blender/python/api2_2x/Armature.c
parentd3ae4b9944c17e14a489255901a32dc8a77246e5 (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/Armature.c')
-rw-r--r--source/blender/python/api2_2x/Armature.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Armature.c b/source/blender/python/api2_2x/Armature.c
index 49c7c6639d4..42f968e3e89 100644
--- a/source/blender/python/api2_2x/Armature.c
+++ b/source/blender/python/api2_2x/Armature.c
@@ -946,6 +946,8 @@ static PyMethodDef BPy_Armature_methods[] = {
"() - Rebuilds the armature based on changes to bones since the last call to makeEditable"},
{"__copy__", (PyCFunction) Armature_copy, METH_NOARGS,
"() - Return a copy of the armature."},
+ {"copy", (PyCFunction) Armature_copy, METH_NOARGS,
+ "() - Return a copy of the armature."},
{NULL, NULL, 0, NULL}
};
//------------------------tp_getset