fix for building blender as a python module,

changes to internal import behavior of py3.3 broke it.
This commit is contained in:
2013-02-06 13:14:11 +00:00
parent c80db5878b
commit 12ef1b63e2
2 changed files with 25 additions and 1 deletions

View File

@@ -1454,6 +1454,8 @@ static PyObject *BPyInit_idprop_types(void)
submodule = PyModule_Create(&IDProp_types_module_def);
IDProp_Init_Types();
#define MODULE_TYPE_ADD(s, t) \
PyModule_AddObject(s, t.tp_name, (PyObject *)&t); Py_INCREF((PyObject *)&t)