diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-17 08:29:49 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-17 08:29:49 +0400 |
commit | ed78dcc96cde26c56207aeb1fbd91488ca3a7f12 (patch) | |
tree | bbfb74104e4a37662a4ee84f2adcf73674ecb913 /source/blender/python/api2_2x/Lamp.c | |
parent | 7c48bec8999d536e1b0f2316e28cb6f6a36a6bbb (diff) |
* Added submodule NMesh:
Partially implemented. Most of it comes from opy_nmesh.c, plus needed
changes to integrate in into exppython.
* Added helper submodule vector, needed by NMesh.
* Minor changes in other files.
Diffstat (limited to 'source/blender/python/api2_2x/Lamp.c')
-rw-r--r-- | source/blender/python/api2_2x/Lamp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Lamp.c b/source/blender/python/api2_2x/Lamp.c index da104852fdc..5ae29a75196 100644 --- a/source/blender/python/api2_2x/Lamp.c +++ b/source/blender/python/api2_2x/Lamp.c @@ -341,7 +341,7 @@ static PyObject *Lamp_getQuad2(C_Lamp *self) "couldn't get Lamp.quad2 attribute")); } -static PyObject *Lamp_rename(C_Lamp *self, PyObject *args) +static PyObject *Lamp_setName(C_Lamp *self, PyObject *args) { char *name; char buf[21]; @@ -831,7 +831,7 @@ static int LampSetAttr (C_Lamp *self, char *name, PyObject *value) "LampSetAttr: couldn't create tuple"); if (strcmp (name, "name") == 0) - error = Lamp_rename (self, valtuple); + error = Lamp_setName (self, valtuple); else if (strcmp (name, "type") == 0) error = Lamp_setIntType (self, valtuple); /* special case */ else if (strcmp (name, "mode") == 0) |