diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 10:08:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 10:08:58 +0300 |
commit | 76d67b4db431591ddf18b131c462bd857950f254 (patch) | |
tree | 2b3d5cb4c97b70812f92bdde2ca52b197504de13 /source/blender/python/bmesh/bmesh_py_api.c | |
parent | 1c2358224f400bc503be116dbddd9312c1b1c914 (diff) | |
parent | 44f719b63238503ef8f933f55383c6d4798995cc (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_api.c')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_api.c b/source/blender/python/bmesh/bmesh_py_api.c index d6189f7c1eb..7669f7eb1fd 100644 --- a/source/blender/python/bmesh/bmesh_py_api.c +++ b/source/blender/python/bmesh/bmesh_py_api.c @@ -191,7 +191,7 @@ PyObject *BPyInit_bmesh(void) { PyObject *mod; PyObject *submodule; - PyObject *sys_modules = PyThreadState_GET()->interp->modules; + PyObject *sys_modules = PyImport_GetModuleDict(); BPy_BM_init_types(); BPy_BM_init_types_select(); |