diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-19 12:32:01 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-19 12:32:01 +0400 |
commit | 542f05451abea024972513968985495b81679e08 (patch) | |
tree | 9ab3a51cd2db17c1abc49b15060fa1707b0825e4 /source/blender/python/api2_2x/Ipo.h | |
parent | d51107b80454459cc01078cee7fcab699e60ce2d (diff) |
World : got rid of debug messages
Blender : declatation of the module IpoCurve
Ipo : modifications (new attributes) to keep the compatibility with 227 api
Diffstat (limited to 'source/blender/python/api2_2x/Ipo.h')
-rw-r--r-- | source/blender/python/api2_2x/Ipo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Ipo.h b/source/blender/python/api2_2x/Ipo.h index fda43df9705..16d9c00de88 100644 --- a/source/blender/python/api2_2x/Ipo.h +++ b/source/blender/python/api2_2x/Ipo.h @@ -51,6 +51,7 @@ /*****************************************************************************/ static PyObject *M_Ipo_New (PyObject *self, PyObject *args); static PyObject *M_Ipo_Get (PyObject *self, PyObject *args); +static PyObject *M_Ipo_Recalc (PyObject *self, PyObject *args); /*****************************************************************************/ /* The following string definitions are used for documentation strings. */ @@ -70,6 +71,7 @@ struct PyMethodDef M_Ipo_methods[] = { {"New",(PyCFunction)M_Ipo_New, METH_VARARGS|METH_KEYWORDS,M_Ipo_New_doc}, {"Get", M_Ipo_Get, METH_VARARGS, M_Ipo_Get_doc}, {"get", M_Ipo_Get, METH_VARARGS, M_Ipo_Get_doc}, + {"Recalc", M_Ipo_Recalc, METH_VARARGS, M_Ipo_Get_doc}, {NULL, NULL, 0, NULL} }; @@ -92,9 +94,12 @@ static PyObject *Ipo_getRctf(C_Ipo *self); static PyObject *Ipo_setRctf(C_Ipo *self, PyObject *args); static PyObject *Ipo_getNcurves(C_Ipo *self); +static PyObject *Ipo_getNBezPoints(C_Ipo *self, PyObject *args); +static PyObject *Ipo_DeleteBezPoints(C_Ipo *self, PyObject *args); static PyObject *Ipo_getCurveBP(C_Ipo *self, PyObject *args); static PyObject *Ipo_getCurvecurval(C_Ipo *self, PyObject *args); + static PyObject *Ipo_setCurveBeztriple(C_Ipo *self, PyObject *args); static PyObject *Ipo_getCurveBeztriple(C_Ipo *self, PyObject *args); @@ -117,6 +122,10 @@ static PyMethodDef C_Ipo_methods[] = { "(str) - Change Ipo rctf"}, {"getNcurves", (PyCFunction)Ipo_getNcurves, METH_NOARGS, "() - Return Ipo ncurves"}, + {"getNBezPoints", (PyCFunction)Ipo_getNBezPoints, METH_VARARGS, + "() - Return curve number of Bez points"}, + {"delBezPoint", (PyCFunction)Ipo_DeleteBezPoints, METH_VARARGS, + "() - Return curve number of Bez points"}, {"getCurveBP", (PyCFunction)Ipo_getCurveBP, METH_VARARGS, "() - Return Ipo ncurves"}, {"getCurveCurval", (PyCFunction)Ipo_getCurvecurval, METH_VARARGS, |