type initialization updates, and refcount fix for lamp, reverted some changes to NMesh

This commit is contained in:
2007-03-16 11:38:02 +00:00
parent c5f4a0a1b0
commit bc1fdcd858
10 changed files with 36 additions and 15 deletions

View File

@@ -906,7 +906,6 @@ PyObject *newMatrixObject(float *mat, int rowSize, int colSize, int type)
"matrix(): row and column sizes must be between 2 and 4\n");
}
matrix_Type.ob_type = &PyType_Type;
self = PyObject_NEW(MatrixObject, &matrix_Type);
self->data.blend_data = NULL;
self->data.py_data = NULL;