Fixed argument checking in __init__ methods of Interface1D, Predicates,

Functions, and StrokeShader types.
This commit is contained in:
2009-08-03 15:19:51 +00:00
parent d4ff63fe20
commit ff110c17f7
27 changed files with 99 additions and 48 deletions

View File

@@ -179,6 +179,8 @@ PyMODINIT_FUNC UnaryPredicate1D_Init( PyObject *module )
int UnaryPredicate1D___init__(BPy_UnaryPredicate1D *self, PyObject *args, PyObject *kwds)
{
if( !PyArg_ParseTuple(args, "") )
return -1;
self->up1D = new UnaryPredicate1D();
self->up1D->py_up1D = (PyObject *) self;
return 0;