From 2f5173887e0c7f6ba19664f16b177e575d82a241 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 19 May 2012 10:10:49 +0000 Subject: disable overwriting the PYTHONPATH for windows - reported as [#31506] --- source/blender/python/generic/py_capi_utils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender') diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index 0e5122787b8..3a405575926 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -483,12 +483,15 @@ void PyC_SetHomePath(const char *py_path_bundle) \nThis may make python import function fail\n"); #endif + +#if 0 /* disable for now [#31506] - campbell */ #ifdef _WIN32 /* cmake/MSVC debug build crashes without this, why only * in this case is unknown.. */ { BLI_setenv("PYTHONPATH", py_path_bundle); } +#endif #endif { -- cgit v1.2.3