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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user