On Thursday 06 December 2001 1:35 pm, you wrote:
> David Megginson wrote:
>  > Since we have the YASim FDM in the FlightGear source tree, it makes
>  > sense to add Andy's four config files to the base package.  Right
>  > now, YASim looks for the config files in $FG_ROOT/Aircraft; that's
>  > probably going to be a bit confusing, since the JSBSim models are in
>  > subdirectories in the same location.  How about
>  > $FG_ROOT/Aircraft-yasim/, parallel with $FG_ROOT/Aircraft-uiuc?
>
> Works for me.  That's what I would have picked anyway.  I just thought
> it would be kinda presumptuous to start adding directories to the base
> package. :)

Presumptuous, no. But does break anon checkouts till I log in and flip
the write bit on said dirs. 
[Note to self... look into that... okay I think I got an answer]

>
> The following patch to YASim.cxx changes the directory search path,
> and all will be well.
>
> Andy
>
> --- YASim.cxx 2001/12/06 06:34:31     1.33
> +++ YASim.cxx 2001/12/06 18:31:50
> @@ -107,7 +107,7 @@
>
>       // Build a filename and parse it
>       SGPath f(globals->get_fg_root());
> -    f.append("Aircraft");
> +    f.append("Aircraft-yasim");
>       f.append(fgGetString("/sim/aircraft"));
>       f.concat(".xml");
>       readXML(f.str(), *_fdm);

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

Reply via email to