diff options
Diffstat (limited to 'source/blender/python/api2_2x/World.h')
-rw-r--r-- | source/blender/python/api2_2x/World.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/World.h b/source/blender/python/api2_2x/World.h index 4fec474aa5d..8889888320a 100644 --- a/source/blender/python/api2_2x/World.h +++ b/source/blender/python/api2_2x/World.h @@ -38,6 +38,7 @@ #include "constant.h" #include "gen_utils.h" #include "bpy_types.h" +#include "modules.h" /*****************************************************************************/ @@ -80,6 +81,8 @@ struct PyMethodDef M_World_methods[] = { /* Python BPy_World methods declarations: */ /*****************************************************************************/ static PyObject *World_getIpo(BPy_World *self); +static PyObject *World_setIpo(BPy_World *self, PyObject *args); +static PyObject *World_clearIpo(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); @@ -103,6 +106,10 @@ static PyObject *World_setMist(BPy_World *self, PyObject *args ); static PyMethodDef BPy_World_methods[] = { {"getIpo", (PyCFunction)World_getIpo, METH_NOARGS, "() - Return World Ipo"}, + {"setIpo", (PyCFunction)World_setIpo, METH_VARARGS, + "() - Change this World's ipo"}, + {"clearIpo", (PyCFunction)World_clearIpo, METH_VARARGS, + "() - Unlink Ipo from this World"}, {"getName", (PyCFunction)World_getName, METH_NOARGS, "() - Return World Data name"}, {"setName", (PyCFunction)World_setName, METH_VARARGS, |