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:
authorErwin Coumans <blender@erwincoumans.com>2008-09-28 07:07:13 +0400
committerErwin Coumans <blender@erwincoumans.com>2008-09-28 07:07:13 +0400
commitf8fb61f9fa0439cbdb6b43d79d82687692daea2f (patch)
tree3adc2d5e30830797bb7b1d41f2bfe26e31851225 /source/blender/src/space.c
parenta765f54b1a20bc8a5d12187b49a6da9652cc6bf6 (diff)
enable -noaudio option, so it actually works (and doesn't get overwritten by a game flag). audio initialization delays startup of game engine 2 seconds
add -nojoystick commandline option: it takes 5 seconds everytime to start the game engine, while there IS no joystick. In other words: blender -noaudio -nojoystick improves workflow turnaround times for P - ESC from 7 seconds to 1 second! Improved Bullet soft body advanced options, still work-in-progress. Make sure to create game Bullet soft bodies from scratch, it is not compatible with last weeks builds.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 13e6281de2a..bc5541f1bcf 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -388,7 +388,11 @@ void space_set_commmandline_options(void) {
if ( (syshandle = SYS_GetSystem()) ) {
/* User defined settings */
a= (U.gameflags & USER_DISABLE_SOUND);
- SYS_WriteCommandLineInt(syshandle, "noaudio", a);
+ /* if user already disabled audio at the command-line, don't re-enable it */
+ if (a)
+ {
+ SYS_WriteCommandLineInt(syshandle, "noaudio", a);
+ }
a= (U.gameflags & USER_DISABLE_MIPMAP);
GPU_set_mipmap(!a);