[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46793] trunk/blender/source/blender/ python/generic/py_capi_utils.c: disable overwriting the PYTHONPATH for windows - reported as [#31506]

Campbell Barton ideasman42 at gmail.com
Sat May 19 12:10:50 CEST 2012


Revision: 46793
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46793
Author:   campbellbarton
Date:     2012-05-19 10:10:49 +0000 (Sat, 19 May 2012)
Log Message:
-----------
disable overwriting the PYTHONPATH for windows - reported as [#31506]

Modified Paths:
--------------
    trunk/blender/source/blender/python/generic/py_capi_utils.c

Modified: trunk/blender/source/blender/python/generic/py_capi_utils.c
===================================================================
--- trunk/blender/source/blender/python/generic/py_capi_utils.c	2012-05-19 09:57:55 UTC (rev 46792)
+++ trunk/blender/source/blender/python/generic/py_capi_utils.c	2012-05-19 10:10:49 UTC (rev 46793)
@@ -483,6 +483,8 @@
 			   \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 @@
 		BLI_setenv("PYTHONPATH", py_path_bundle);
 	}
 #endif
+#endif
 
 	{
 		static wchar_t py_path_bundle_wchar[1024];




More information about the Bf-blender-cvs mailing list