|
From: Florent R. <f.r...@fr...> - 2023-07-18 20:52:11
|
Hi, Stuart Buchanan <stu...@gm...> wrote: > Let’s pass a null SGPath for the moment. I’ll have a bit more of a think > as to whether this approach has any future when I get back. Here is a patch interested people can test before I reread it and commit (David?). I passed a null SGPath as proposed above (this causes XMLLoader::findAirportData() to perform “full $FG_SCENERY traversal” for the corresponding airport, as in case A below). The main “user-visible” change is as follows: A) The lookup of *.procedures.xml is unchanged. B) For other XML extension files (groundnet, ils, runway_rename, threshold, twr): - The search performed by XMLLoader::findAirportData() through $FG_SCENERY stops after the scenery path p that contributed the apt.dat file for the airport. - Paths that come earlier than p in $FG_SCENERY may contain XML extension files that will *override* sibling files that might exist in p. This was an option I already mentioned; it's easy to change if there is consensus to only consider XML extension files from scenery path p. Regards -- Florent |