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:
authorJacques Guignot <guignot@wanadoo.fr>2003-10-26 19:51:53 +0300
committerJacques Guignot <guignot@wanadoo.fr>2003-10-26 19:51:53 +0300
commit6b1b9c1890633fb45c7e1f826d2fb2cb491f68aa (patch)
tree6517462093e2a27570c8b661af49461cf7b380ad /source/blender/python/api2_2x/World.h
parente63a938c456f9edcd3d79857649cdd1a93364746 (diff)
iaccess to the IPOs of a Camera, a World, or of a Material
Diffstat (limited to 'source/blender/python/api2_2x/World.h')
-rw-r--r--source/blender/python/api2_2x/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/World.h b/source/blender/python/api2_2x/World.h
index f6c74fc5626..4fec474aa5d 100644
--- a/source/blender/python/api2_2x/World.h
+++ b/source/blender/python/api2_2x/World.h
@@ -79,6 +79,7 @@ struct PyMethodDef M_World_methods[] = {
/*****************************************************************************/
/* Python BPy_World methods declarations: */
/*****************************************************************************/
+static PyObject *World_getIpo(BPy_World *self);
static PyObject *World_getName(BPy_World *self);
static PyObject *World_setName(BPy_World *self, PyObject *args);
static PyObject *World_getSkytype(BPy_World *self);
@@ -100,6 +101,8 @@ static PyObject *World_setMist(BPy_World *self, PyObject *args );
/* Python BPy_World methods table: */
/*****************************************************************************/
static PyMethodDef BPy_World_methods[] = {
+ {"getIpo", (PyCFunction)World_getIpo, METH_NOARGS,
+ "() - Return World Ipo"},
{"getName", (PyCFunction)World_getName, METH_NOARGS,
"() - Return World Data name"},
{"setName", (PyCFunction)World_setName, METH_VARARGS,