Fixed argument checking in __init__ methods of Interface1D, Predicates,
Functions, and StrokeShader types.
This commit is contained in:
@@ -161,6 +161,8 @@ PyTypeObject ViewEdge_Type = {
|
||||
|
||||
int ViewEdge___init__(BPy_ViewEdge *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
if ( !PyArg_ParseTuple(args, "") )
|
||||
return -1;
|
||||
self->ve = new ViewEdge();
|
||||
self->py_if1D.if1D = self->ve;
|
||||
self->py_if1D.borrowed = 0;
|
||||
|
||||
Reference in New Issue
Block a user