From f2e89407d257162a89913b2c7863d3cdc8065259 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 19 Sep 2001 22:27:08 +0000 Subject: [PATCH] For ADA fdm turn on hud for center channel. --- src/Main/fg_commands.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 15328eb69..b6bf7f043 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -239,6 +239,12 @@ do_view_cycle (const SGPropertyNode * arg, SGCommandState ** state) { globals->get_current_view()->set_view_offset(0.0); globals->set_current_view(globals->get_viewmgr()->next_view()); + if ( fgGetString("/sim/flight-model") == "ada" ) { + globals->get_props()->setBoolValue( "/sim/hud/visibility", true ); + if ( globals->get_viewmgr()->get_current() == 1 ) { + globals->get_props()->setBoolValue( "/sim/hud/visibility", false ); + } + } // fgReshape(fgGetInt("/sim/startup/xsize"), fgGetInt("/sim/startup/ysize")); return true; } -- 2.39.5