diff options
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.h')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Ipo.h b/source/blender/python/api2_2x/Ipo.h index 1b36c725449..28e45e84ffb 100644 --- a/source/blender/python/api2_2x/Ipo.h +++ b/source/blender/python/api2_2x/Ipo.h @@ -93,6 +93,7 @@ static PyObject *Ipo_setBlocktype(C_Ipo *self, PyObject *args); static PyObject *Ipo_getRctf(C_Ipo *self); static PyObject *Ipo_setRctf(C_Ipo *self, PyObject *args); +static PyObject *Ipo_getCurves(C_Ipo *self); static PyObject *Ipo_addCurve(C_Ipo *self, PyObject *args); static PyObject *Ipo_getNcurves(C_Ipo *self); static PyObject *Ipo_getNBezPoints(C_Ipo *self, PyObject *args); @@ -140,6 +141,8 @@ static PyMethodDef C_Ipo_methods[] = { "() - Return Ipo ncurves"}, {"setCurveBeztriple", (PyCFunction)Ipo_setCurveBeztriple, METH_VARARGS, "() - Return curval"}, + {"getCurves", (PyCFunction)Ipo_getCurves, METH_NOARGS, + "() - Return curval"}, {0} }; |