Merge branch 'master' into blender2.8

This commit is contained in:
2018-09-13 17:08:58 +10:00
6 changed files with 6 additions and 6 deletions

View File

@@ -615,7 +615,7 @@ PyMODINIT_FUNC PyInit_mathutils(void)
{
PyObject *mod;
PyObject *submodule;
PyObject *sys_modules = PyThreadState_GET()->interp->modules;
PyObject *sys_modules = PyImport_GetModuleDict();
if (PyType_Ready(&vector_Type) < 0)
return NULL;