From 6ca17098b83fd80ea47836c73c723c9b636779dd Mon Sep 17 00:00:00 2001 From: david Date: Sat, 20 Jul 2002 23:10:16 +0000 Subject: [PATCH] Added --disable-random-objects and --enable-random-objects options. --- src/Main/options.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index d6cb5dd3f..6f981c9c5 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -582,6 +582,10 @@ parse_option (const string& arg) fgSetString("/sim/startup/mouse-pointer", "disabled"); } else if ( arg == "--enable-mouse-pointer" ) { fgSetString("/sim/startup/mouse-pointer", "enabled"); + } else if ( arg == "--disable-random-objects" ) { + fgSetBool("/sim/rendering/random-objects", false); + } else if ( arg == "--enable-random-objects" ) { + fgSetBool("/sim/rendering/random-objects", true); } else if ( arg == "--disable-freeze" ) { fgSetBool("/sim/freeze/master", false); } else if ( arg == "--enable-freeze" ) {