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-10-28 03:29:37 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2003-10-28 03:29:37 +0300
commit9c6275c55babe03f377b4897dbf87341c3f80fda (patch)
treed71f3f9526207bb3cb68850089ccb66f5a901849 /source/blender/python/api2_2x/Camera.h
parentbfef1d0d92a8a3e9e75ab337b7e9add9fae4e08b (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/Camera.h')
-rw-r--r--source/blender/python/api2_2x/Camera.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Camera.h b/source/blender/python/api2_2x/Camera.h
index eee0593a98d..ee36cc214bf 100644
--- a/source/blender/python/api2_2x/Camera.h
+++ b/source/blender/python/api2_2x/Camera.h
@@ -125,6 +125,7 @@ static PyObject *Camera_getClipStart(BPy_Camera *self);
static PyObject *Camera_getClipEnd(BPy_Camera *self);
static PyObject *Camera_getDrawSize(BPy_Camera *self);
static PyObject *Camera_setIpo(BPy_Camera *self, PyObject *args);
+static PyObject *Camera_clearIpo(BPy_Camera *self);
static PyObject *Camera_setName(BPy_Camera *self, PyObject *args);
static PyObject *Camera_setType(BPy_Camera *self, PyObject *args);
static PyObject *Camera_setIntType(BPy_Camera *self, PyObject *args);
@@ -158,7 +159,9 @@ static PyMethodDef BPy_Camera_methods[] = {
{"getDrawSize", (PyCFunction)Camera_getDrawSize, METH_NOARGS,
"() - Return Camera draw size value"},
{"setIpo", (PyCFunction)Camera_setIpo, METH_VARARGS,
- "(O) - Set Camera Ipo"},
+ "(Blender Ipo) - Set Camera Ipo"},
+ {"clearIpo", (PyCFunction)Camera_clearIpo, METH_NOARGS,
+ "() - Unlink Ipo from this Camera."},
{"setName", (PyCFunction)Camera_setName, METH_VARARGS,
"(s) - Set Camera Data name"},
{"setType", (PyCFunction)Camera_setType, METH_VARARGS,