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

@@ -637,8 +637,7 @@ PyObject *newQuaternionObject(float *quat, int type)
{
QuaternionObject *self;
int x;
quaternion_Type.ob_type = &PyType_Type;
self = PyObject_NEW(QuaternionObject, &quaternion_Type);
self->data.blend_data = NULL;
self->data.py_data = NULL;