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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-04 16:13:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-04 16:13:31 +0300
commit5fafa570d06a920fcbd73b0e5b1944846cce43ed (patch)
treeda25830c6beceb2dd0088d65299484d7c203a54f /source
parent64ff9d6de40740866c290f1e1e88e6e22a1ca5e7 (diff)
warn if blender is compiled without python
Diffstat (limited to 'source')
-rw-r--r--source/creator/creator.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index aad70ea9178..ec0470f0710 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1134,13 +1134,6 @@ int main(int argc, char **argv)
#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 {
@@ -1161,7 +1154,8 @@ int main(int argc, char **argv)
*/
// 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);