committed by
Campbell Barton
parent
03cd8b359b
commit
0ca1386426
@@ -558,7 +558,9 @@ void BPY_python_start(bContext *C, int argc, const char **argv)
|
||||
|
||||
void BPY_python_end(const bool do_python_exit)
|
||||
{
|
||||
#ifndef WITH_PYTHON_MODULE
|
||||
BLI_assert_msg(Py_IsInitialized() != 0, "Python must be initialized");
|
||||
#endif
|
||||
|
||||
PyGILState_STATE gilstate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user