Added PyGILState_Ensure and PyGILState_Release funcs around module reloading.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 25 Feb 2008 18:35:35 +0000 (18:35 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 25 Feb 2008 18:35:35 +0000 (18:35 +0000)
commit3dd622b2b485a221131e1f50dd5aef16b29ecdf9
tree78a1da3edf32d7e03941eff6be7ef48e201f94ee
parent6f1b9eb9ac400d2680b7f857593ee375479650d9
Added PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Without them blender would crash when reloading scripts.
source/blender/python/BPY_interface.c