- Stephan Gartner reported a crash with Scripts Help Browser script found while porting blender to Linux/x86_64, related to bugs in Blender.Window.Theme module:
    two object types were being defined with wrong sizes.  My mistake, when I wrote that code I copied/pasted those portions around and didn't check properly.  Should be fixed now.  Thanks Stephan.
This commit is contained in:
2004-11-11 17:59:36 +00:00
parent 5f5445ddbe
commit ac866cad12

View File

@@ -101,7 +101,7 @@ static PyMethodDef BPy_ThemeSpace_methods[] = {
PyTypeObject ThemeSpace_Type = {
PyObject_HEAD_INIT( NULL ) 0, /* ob_size */
"Blender Space Theme", /* tp_name */
sizeof( BPy_Theme ), /* tp_basicsize */
sizeof( BPy_ThemeSpace ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
( destructor ) ThemeSpace_dealloc, /* tp_dealloc */
@@ -277,7 +277,7 @@ static PyMethodDef BPy_ThemeUI_methods[] = {
PyTypeObject ThemeUI_Type = {
PyObject_HEAD_INIT( NULL ) 0, /* ob_size */
"Blender UI Theme", /* tp_name */
sizeof( BPy_Theme ), /* tp_basicsize */
sizeof( BPy_ThemeUI ), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
( destructor ) ThemeUI_dealloc, /* tp_dealloc */