Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-19 14:10:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-19 14:10:49 +0400
commit2f5173887e0c7f6ba19664f16b177e575d82a241 (patch)
treef7835378a9206d269a1acd27bea32ac9eec473a7 /source/blender
parent9c9a5b882d007c1b75136cfe9a0c4c3ec8769d26 (diff)
disable overwriting the PYTHONPATH for windows - reported as [#31506]
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/python/generic/py_capi_utils.c3
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];