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

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

View File

@@ -1813,7 +1813,8 @@ PyObject *Draw_Init( void )
{
PyObject *submodule, *dict;
Button_Type.ob_type = &PyType_Type;
if( PyType_Ready( &Button_Type) < 0)
Py_RETURN_NONE;
submodule = Py_InitModule3( "Blender.Draw", Draw_methods, Draw_doc );