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