From d005cae22e7bddadc1982dc0cbd96be59aa60984 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 16 Jan 2011 15:31:39 +0000 Subject: [PATCH] Bug 254: make all the HUD related options apply to hud[1], not hud[0], so they function as expected. --- src/Main/options.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 1931bb341..b2b960dbf 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -185,8 +185,8 @@ fgSetDefaults () // Features fgSetBool("/sim/hud/color/antialiased", false); - fgSetBool("/sim/hud/enable3d", true); - fgSetBool("/sim/hud/visibility", false); + fgSetBool("/sim/hud/enable3d[1]", true); + fgSetBool("/sim/hud/visibility[1]", false); fgSetBool("/sim/panel/visibility", true); fgSetBool("/sim/sound/enabled", true); fgSetBool("/sim/sound/working", true); @@ -1342,16 +1342,16 @@ struct OptionDesc { {"enable-fuel-freeze", false, OPTION_BOOL, "/sim/freeze/fuel", true, "", 0 }, {"disable-clock-freeze", false, OPTION_BOOL, "/sim/freeze/clock", false, "", 0 }, {"enable-clock-freeze", false, OPTION_BOOL, "/sim/freeze/clock", true, "", 0 }, - {"disable-hud-3d", false, OPTION_BOOL, "/sim/hud/enable3d", false, "", 0 }, - {"enable-hud-3d", false, OPTION_BOOL, "/sim/hud/enable3d", true, "", 0 }, + {"disable-hud-3d", false, OPTION_BOOL, "/sim/hud/enable3d[1]", false, "", 0 }, + {"enable-hud-3d", false, OPTION_BOOL, "/sim/hud/enable3d[1]", true, "", 0 }, {"disable-anti-alias-hud", false, OPTION_BOOL, "/sim/hud/color/antialiased", false, "", 0 }, {"enable-anti-alias-hud", false, OPTION_BOOL, "/sim/hud/color/antialiased", true, "", 0 }, {"control", true, OPTION_STRING, "/sim/control-mode", false, "", 0 }, {"disable-auto-coordination", false, OPTION_BOOL, "/sim/auto-coordination", false, "", 0 }, {"enable-auto-coordination", false, OPTION_BOOL, "/sim/auto-coordination", true, "", 0 }, {"browser-app", true, OPTION_STRING, "/sim/startup/browser-app", false, "", 0 }, - {"disable-hud", false, OPTION_BOOL, "/sim/hud/visibility", false, "", 0 }, - {"enable-hud", false, OPTION_BOOL, "/sim/hud/visibility", true, "", 0 }, + {"disable-hud", false, OPTION_BOOL, "/sim/hud/visibility[1]", false, "", 0 }, + {"enable-hud", false, OPTION_BOOL, "/sim/hud/visibility[1]", true, "", 0 }, {"disable-panel", false, OPTION_BOOL, "/sim/panel/visibility", false, "", 0 }, {"enable-panel", false, OPTION_BOOL, "/sim/panel/visibility", true, "", 0 }, {"disable-sound", false, OPTION_BOOL, "/sim/sound/working", false, "", 0 },