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-07-04 20:09:34 +0400
committerJacques Guignot <guignot@wanadoo.fr>2003-07-04 20:09:34 +0400
commit19ac604c47373040b19418c1d70a2fc5bd224f07 (patch)
tree48cf7480887544a1ec198b3b9839e29d98dc1104 /source/blender/python/api2_2x/Curve.h
parent82e1783dcb9397de1b83dff1186fccc15707531f (diff)
deleted print function, which caused crashes.
Objects are printed with the repr function.
Diffstat (limited to 'source/blender/python/api2_2x/Curve.h')
-rw-r--r--source/blender/python/api2_2x/Curve.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Curve.h b/source/blender/python/api2_2x/Curve.h
index 741050c83ff..f97b806b909 100644
--- a/source/blender/python/api2_2x/Curve.h
+++ b/source/blender/python/api2_2x/Curve.h
@@ -178,7 +178,7 @@ Sets a control point "},
/* Python Curve_Type callback function prototypes: */
/*****************************************************************************/
static void CurveDeAlloc (BPy_Curve *msh);
-static int CurvePrint (BPy_Curve *msh, FILE *fp, int flags);
+//static int CurvePrint (BPy_Curve *msh, FILE *fp, int flags);
static int CurveSetAttr (BPy_Curve *msh, char *name, PyObject *v);
static PyObject *CurveGetAttr (BPy_Curve *msh, char *name);
static PyObject *CurveRepr (BPy_Curve *msh);
@@ -199,7 +199,7 @@ PyTypeObject Curve_Type =
0, /* tp_itemsize */
/* methods */
(destructor)CurveDeAlloc, /* tp_dealloc */
- (printfunc)CurvePrint, /* tp_print */
+ 0, /* tp_print */
(getattrfunc)CurveGetAttr, /* tp_getattr */
(setattrfunc)CurveSetAttr, /* tp_setattr */
0, /* tp_compare */