Fixed the handling of constructor arguments in the following Python

types: Interface0D, SVertex, ViewVertex, StrokeVertex, NonTVertex,
and TVertex.
This commit is contained in:
2009-08-02 22:39:21 +00:00
parent 74027eafcb
commit e2eb4d567c
6 changed files with 39 additions and 18 deletions

View File

@@ -182,6 +182,8 @@ PyMODINIT_FUNC Interface0D_Init( PyObject *module )
int Interface0D___init__(BPy_Interface0D *self, PyObject *args, PyObject *kwds)
{
if ( !PyArg_ParseTuple(args, "") )
return -1;
self->if0D = new Interface0D();
self->borrowed = 0;
return 0;