Cleanup: use PyImport_GetModuleDict
authorCampbell Barton <ideasman42@gmail.com>
Thu, 13 Sep 2018 07:06:07 +0000 (17:06 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 13 Sep 2018 07:06:07 +0000 (17:06 +1000)
commit44f719b63238503ef8f933f55383c6d4798995cc
tree897d2cccd47955d21eaf96010d8aeb0425b0173b
parentc062d360caeb311865e1584baa4cf4d218b094d3
Cleanup: use PyImport_GetModuleDict

Replace direct access using PyThreadState_GET
source/blender/python/bmesh/bmesh_py_api.c
source/blender/python/generic/idprop_py_api.c
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/gpu.c
source/blender/python/mathutils/mathutils.c
source/blender/python/mathutils/mathutils_noise.c
source/gameengine/Ketsji/KX_PythonInit.cpp