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:
authorJacques Guignot <guignot@wanadoo.fr>2003-08-05 14:19:28 +0400
committerJacques Guignot <guignot@wanadoo.fr>2003-08-05 14:19:28 +0400
commit05187adc2fff9d6c6dcc7c1b7ddf5151ec0a9982 (patch)
treec5c661457657e262991c11b9762e8b83dbc7d810 /source/blender/python/api2_2x/BezTriple.h
parent683c322b0ebf7f407bb79f775f592e8ebfeef078 (diff)
removed unuseful function calls in BezTriple.[ch]
general cleaning of Ipocurve.c Ipocurve.h Ipo.h Ipo.c updated doc
Diffstat (limited to 'source/blender/python/api2_2x/BezTriple.h')
-rw-r--r--source/blender/python/api2_2x/BezTriple.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/BezTriple.h b/source/blender/python/api2_2x/BezTriple.h
index c7c4b6e1dc4..74ed54f0eab 100644
--- a/source/blender/python/api2_2x/BezTriple.h
+++ b/source/blender/python/api2_2x/BezTriple.h
@@ -76,18 +76,18 @@ typedef struct {
/*****************************************************************************/
/* Python C_BezTriple methods declarations: */
/*****************************************************************************/
-static PyObject *BezTriple_getName(C_BezTriple *self);
-static PyObject *BezTriple_setName(C_BezTriple *self, PyObject *args);
+static PyObject *BezTriple_setPoints(C_BezTriple *self, PyObject *args);
+static PyObject *BezTriple_getPoints(C_BezTriple *self);
/*****************************************************************************/
/* Python C_BezTriple methods table: */
/*****************************************************************************/
static PyMethodDef C_BezTriple_methods[] = {
/* name, method, flags, doc */
- {"getName", (PyCFunction)BezTriple_getName, METH_NOARGS,
- "() - Return BezTriple Data name"},
-{"setName", (PyCFunction)BezTriple_setName, METH_VARARGS,
- "(str) - Change BezTriple Data name"},
+{"setPoints", (PyCFunction)BezTriple_setPoints, METH_VARARGS,
+ "(str) - Change BezTriple point coordinates"},
+{"getPoints", (PyCFunction)BezTriple_getPoints, METH_NOARGS,
+ "(str) - Change BezTriple point coordinates"},
{0}
};
@@ -95,7 +95,6 @@ static PyMethodDef C_BezTriple_methods[] = {
/* Python BezTriple_Type callback function prototypes: */
/*****************************************************************************/
static void BezTripleDeAlloc (C_BezTriple *self);
-//static int BezTriplePrint (C_BezTriple *self, FILE *fp, int flags);
static int BezTripleSetAttr (C_BezTriple *self, char *name, PyObject *v);
static PyObject *BezTripleGetAttr (C_BezTriple *self, char *name);
static PyObject *BezTripleRepr (C_BezTriple *self);