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

@@ -833,7 +833,8 @@ PyObject *Lamp_CreatePyObject( Lamp * lamp )
rgb[2] = &lamp->b;
pylamp->color = ( BPy_rgbTuple * ) rgbTuple_New( rgb );
Py_INCREF(pylamp->color);
return ( PyObject * ) pylamp;
}