diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-10-28 03:29:37 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-10-28 03:29:37 +0300 |
commit | 9c6275c55babe03f377b4897dbf87341c3f80fda (patch) | |
tree | d71f3f9526207bb3cb68850089ccb66f5a901849 /source/blender/python/api2_2x/World.h | |
parent | bfef1d0d92a8a3e9e75ab337b7e9add9fae4e08b (diff) |
Exppython:
- Small fix in NMesh.c
- Updates to ipo related methods in Camera, World and Material
- Doc updates
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, |