diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 77d0f4fa90a..997c5f4fce6 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -170,15 +170,7 @@ void BPY_start_python_path(void) /* cmake/MSVC debug build crashes without this, why only in this case is unknown.. */ { - char *envpath = getenv("PYTHONPATH"); - - if(envpath && envpath[0]) { - char *newenvpath = BLI_sprintfN("%s;%s", py_path_bundle, envpath); - BLI_setenv("PYTHONPATH", newenvpath); - MEM_freeN(newenvpath); - } - else - BLI_setenv("PYTHONPATH", py_path_bundle); + BLI_setenv("PYTHONPATH", py_path_bundle); } #endif