diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-06 17:14:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-06 17:14:11 +0400 |
commit | 12ef1b63e255b7387f7432d3266c33adcca5258c (patch) | |
tree | 9972341abcf9aaf60e53d46039c19ada7959de11 /source/blender/python/generic/idprop_py_api.c | |
parent | c80db5878b799890895fca7d595c830dd63603eb (diff) |
fix for building blender as a python module,
changes to internal import behavior of py3.3 broke it.
Diffstat (limited to 'source/blender/python/generic/idprop_py_api.c')
-rw-r--r-- | source/blender/python/generic/idprop_py_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index f0db5358d0a..a0e2f1a0854 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -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) |