fix for building WITH_PYTHON_MODULE
This commit is contained in:
@@ -209,8 +209,6 @@ void BPY_python_start(int argc, const char **argv)
|
|||||||
|
|
||||||
Py_Initialize();
|
Py_Initialize();
|
||||||
|
|
||||||
bpy_intern_string_init();
|
|
||||||
|
|
||||||
// PySys_SetArgv(argc, argv); // broken in py3, not a huge deal
|
// PySys_SetArgv(argc, argv); // broken in py3, not a huge deal
|
||||||
/* sigh, why do python guys not have a char** version anymore? :( */
|
/* sigh, why do python guys not have a char** version anymore? :( */
|
||||||
{
|
{
|
||||||
@@ -233,6 +231,8 @@ void BPY_python_start(int argc, const char **argv)
|
|||||||
PyImport_ExtendInittab(bpy_internal_modules);
|
PyImport_ExtendInittab(bpy_internal_modules);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
bpy_intern_string_init();
|
||||||
|
|
||||||
/* bpy.* and lets us import it */
|
/* bpy.* and lets us import it */
|
||||||
BPy_init_modules();
|
BPy_init_modules();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user