deps/obs-scripting: Prevent potential python startup issues

Prevents Python from automatically trying to load from PATH on startup
on windows.  The user should set their Python 3 path themselves.
This commit is contained in:
jp9000 2018-01-22 07:33:17 -08:00
parent cee790a5c6
commit c5b58211da

View File

@ -150,7 +150,9 @@ bool obs_scripting_load(void)
#if COMPILE_PYTHON
obs_python_load();
#ifndef _WIN32 /* don't risk python startup load issues on windows */
obs_scripting_load_python(NULL);
#endif
#endif
scripting_loaded = true;