I just checked in changed to fix the init-order problem for *-set.xml
files.  My solution was blunt but effective.  I simply parse all of
the system.fgfsrc, $HOME/.fgfsrc, and command-line options twice --
once before loading the *-set.xml file, to make sure the correct
aircraft is picked up, and once afterwards, to allow the command-line
to override anything that was changed.

The problem manifested itself when other aircraft (such as the 747)
picked up the default aileron trim setting for the JSBSim 172.

By the way, does anyone still use a system.fgfsrc, or can I remove
that old code?


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to