diff options
author | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-04 20:06:39 +0400 |
---|---|---|
committer | Jacques Guignot <guignot@wanadoo.fr> | 2003-07-04 20:06:39 +0400 |
commit | 82e1783dcb9397de1b83dff1186fccc15707531f (patch) | |
tree | 159065c0dc14e2a688e498f765bce02317250c95 /source/blender/python/api2_2x/Effect.h | |
parent | 28b8e667a0c2ef77dd862bc40909d089a96d1324 (diff) |
Following Willian's proposal,deleted the print function, which caused crashes.
The objects are now printed with the repr function.
Diffstat (limited to 'source/blender/python/api2_2x/Effect.h')
-rw-r--r-- | source/blender/python/api2_2x/Effect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Effect.h b/source/blender/python/api2_2x/Effect.h index 544f80f7a09..711afad0a2d 100644 --- a/source/blender/python/api2_2x/Effect.h +++ b/source/blender/python/api2_2x/Effect.h @@ -72,7 +72,7 @@ PyObject *M_Effect_Get (PyObject *self, PyObject *args); /* Python Effect_Type callback function prototypes: */ /*****************************************************************************/ void EffectDeAlloc (BPy_Effect *msh); -int EffectPrint (BPy_Effect *msh, FILE *fp, int flags); +//int EffectPrint (BPy_Effect *msh, FILE *fp, int flags); int EffectSetAttr (BPy_Effect *msh, char *name, PyObject *v); PyObject *EffectGetAttr (BPy_Effect *msh, char *name); PyObject *EffectRepr (BPy_Effect *msh); @@ -91,7 +91,7 @@ static PyTypeObject Effect_Type = 0, /* tp_itemsize */ /* methods */ (destructor)EffectDeAlloc, /* tp_dealloc */ - (printfunc)EffectPrint, /* tp_print */ + 0, /* tp_print */ (getattrfunc)EffectGetAttr, /* tp_getattr */ (setattrfunc)EffectSetAttr, /* tp_setattr */ 0, /* tp_compare */ |