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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-17 08:29:49 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-17 08:29:49 +0400
commited78dcc96cde26c56207aeb1fbd91488ca3a7f12 (patch)
treebbfb74104e4a37662a4ee84f2adcf73674ecb913 /source/blender/python/api2_2x/Lamp.h
parent7c48bec8999d536e1b0f2316e28cb6f6a36a6bbb (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.h')
-rw-r--r--source/blender/python/api2_2x/Lamp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Lamp.h b/source/blender/python/api2_2x/Lamp.h
index 8c1ab134411..dae523394ba 100644
--- a/source/blender/python/api2_2x/Lamp.h
+++ b/source/blender/python/api2_2x/Lamp.h
@@ -188,7 +188,7 @@ static PyObject *Lamp_getSoftness(C_Lamp *self);
static PyObject *Lamp_getHaloInt(C_Lamp *self);
static PyObject *Lamp_getQuad1(C_Lamp *self);
static PyObject *Lamp_getQuad2(C_Lamp *self);
-static PyObject *Lamp_rename(C_Lamp *self, PyObject *args);
+static PyObject *Lamp_setName(C_Lamp *self, PyObject *args);
static PyObject *Lamp_setType(C_Lamp *self, PyObject *args);
static PyObject *Lamp_setIntType(C_Lamp *self, PyObject *args);
static PyObject *Lamp_setMode(C_Lamp *self, PyObject *args);
@@ -250,7 +250,7 @@ static PyMethodDef C_Lamp_methods[] = {
"() - return light intensity value #1 for a Quad Lamp"},
{"getQuad2", (PyCFunction)Lamp_getQuad2, METH_NOARGS,
"() - return light intensity value #2 for a Quad Lamp"},
- {"rename", (PyCFunction)Lamp_rename, METH_VARARGS,
+ {"setName", (PyCFunction)Lamp_setName, METH_VARARGS,
"(str) - rename Lamp"},
{"setType", (PyCFunction)Lamp_setType, METH_VARARGS,
"(str) - change Lamp type, which can be 'persp' or 'ortho'"},