support for mathutils GC wasn't complete since PyObject_GC_Track is supposed to be called once the fields are filled in.

This commit is contained in:
2011-03-03 06:01:31 +00:00
parent 5f5fb5061b
commit c42f3b4e59
5 changed files with 12 additions and 7 deletions

View File

@@ -1895,6 +1895,7 @@ PyObject *newMatrixObject_cb(PyObject *cb_user, int rowSize, int colSize, int cb
self->cb_user= cb_user;
self->cb_type= (unsigned char)cb_type;
self->cb_subtype= (unsigned char)cb_subtype;
PyObject_GC_Track(self);
}
return (PyObject *) self;
}