[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35894] trunk/blender/source/blender/ python/intern/bpy_interface.c: print warning on windows/ mac when bundled python is not found, suggesting to build the 'install' target.
Campbell Barton
ideasman42 at gmail.com
Wed Mar 30 08:27:39 CEST 2011
Revision: 35894
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35894
Author: campbellbarton
Date: 2011-03-30 06:27:39 +0000 (Wed, 30 Mar 2011)
Log Message:
-----------
print warning on windows/mac when bundled python is not found, suggesting to build the 'install' target.
Modified Paths:
--------------
trunk/blender/source/blender/python/intern/bpy_interface.c
Modified: trunk/blender/source/blender/python/intern/bpy_interface.c
===================================================================
--- trunk/blender/source/blender/python/intern/bpy_interface.c 2011-03-30 05:44:01 UTC (rev 35893)
+++ trunk/blender/source/blender/python/intern/bpy_interface.c 2011-03-30 06:27:39 UTC (rev 35894)
@@ -170,9 +170,13 @@
{
char *py_path_bundle= BLI_get_folder(BLENDER_PYTHON, NULL);
- if(py_path_bundle==NULL)
+ if(py_path_bundle==NULL) {
+ /* Common enough to have bundled *nix python but complain on OSX/Win */
+#if defined(__APPLE__) || defined(_WIN32)
+ fprintf(stderr, "Bundled python is expected on this platform, if blender fails to load build the 'install' target\n");
+#endif
return;
-
+ }
/* set the environment path */
printf("found bundled python: %s\n", py_path_bundle);
More information about the Bf-blender-cvs
mailing list