Fixed argument checking in __init__ methods of Interface1D, Predicates,
Functions, and StrokeShader types.
This commit is contained in:
@@ -197,6 +197,8 @@ PyMODINIT_FUNC Interface1D_Init( PyObject *module )
|
||||
|
||||
int Interface1D___init__(BPy_Interface1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
if ( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->if1D = new Interface1D();
|
||||
self->borrowed = 0;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user