[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32867] trunk/blender/source/creator/ creator.c: warn if blender is compiled without python

Campbell Barton ideasman42 at gmail.com
Thu Nov 4 14:13:31 CET 2010


Revision: 32867
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32867
Author:   campbellbarton
Date:     2010-11-04 14:13:31 +0100 (Thu, 04 Nov 2010)

Log Message:
-----------
warn if blender is compiled without python

Modified Paths:
--------------
    trunk/blender/source/creator/creator.c

Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c	2010-11-04 12:59:03 UTC (rev 32866)
+++ trunk/blender/source/creator/creator.c	2010-11-04 13:13:31 UTC (rev 32867)
@@ -1134,14 +1134,7 @@
 
 #ifndef DISABLE_SDL
 	BLI_setenv("SDL_VIDEODRIVER", "dummy");
-/* I think this is not necessary anymore (04-24-2010 neXyon)
-#ifdef __linux__
-	// On linux the default SDL driver dma often would not play
-	// use alsa if none is set
-	setenv("SDL_AUDIODRIVER", "alsa", 0);
 #endif
-*/
-#endif
 	}
 	else {
 		BLI_argsParse(ba, 3, NULL, NULL);
@@ -1161,7 +1154,8 @@
 	 */
 
 	// TODO - U.pythondir
-
+#else
+	printf("\n* WARNING * - Blender compiled without Python!\nthis is not intended for typical usage\n\n");
 #endif
 	
 	CTX_py_init_set(C, 1);





More information about the Bf-blender-cvs mailing list