diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-19 14:10:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-19 14:10:49 +0400 |
commit | 2f5173887e0c7f6ba19664f16b177e575d82a241 (patch) | |
tree | f7835378a9206d269a1acd27bea32ac9eec473a7 /source | |
parent | 9c9a5b882d007c1b75136cfe9a0c4c3ec8769d26 (diff) |
disable overwriting the PYTHONPATH for windows - reported as [#31506]
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
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,6 +483,8 @@ 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.. */ @@ -490,6 +492,7 @@ void PyC_SetHomePath(const char *py_path_bundle) BLI_setenv("PYTHONPATH", py_path_bundle); } #endif +#endif { static wchar_t py_path_bundle_wchar[1024]; |