1
0
Fork 0
flightgear/src
Florent Rougon 9fc5f30a93 Call fgInitAllowedPaths() between updates of aircraft paths and -set.xml parsing
fgInitAircraft() loads the aircraft -set.xml file, which calls
ResourceManager::findPath() for each 'include=...' directive. In order
to prevent such includes from triggering the new warning printed by
ResourceManager::findPath(), call fgInitAllowedPaths() after the
aircraft paths have been updated and before the -set.xml file is loaded.
Thanks to Alan Teeder for reporting the problem.

We can now probably remove the call to fgInitAllowedPaths() after
processOptions() in fgStartNewReset() (I believe the newly-added call
comes “soon enough”). Not doing so in this commit, though: let's fix
problems before optimizing.
2022-08-27 20:01:55 +02:00
..
Add-ons Replace fgValidatePath() with SGPath::validate() 2022-08-22 13:35:15 +02:00
AIModel AI Aircraft not taking off because TowerController signOff was not called. 2022-06-20 21:32:52 +02:00
Aircraft src/Aircraft/replay-internal.cxx: removed stray diagnostic in prev commit. 2022-02-19 12:41:21 +00:00
Airports Fix segfaults in AI code 2022-06-19 10:28:54 +02:00
ATC AI Aircraft not taking off because TowerController signOff was not called. 2022-06-20 21:32:52 +02:00
Autopilot Replace fgValidatePath() with SGPath::validate() 2022-08-22 13:35:15 +02:00
Canvas Replace fgValidatePath() with SGPath::validate() 2022-08-22 13:35:15 +02:00
Cockpit Use helper method for OSGText alignment mapAlignment 2022-03-10 15:12:34 +01:00
EmbeddedResources CMake: make another object dependency explicit 2021-03-10 10:17:15 +00:00
Environment Use std::function for callbacks 2022-05-25 10:38:20 +01:00
FDM Ground-cache: throw on NaN inputs 2022-06-01 11:50:38 +01:00
GUI FGPUIMenuBar: small optimization (requires C++17) 2022-08-18 17:39:08 +02:00
Include GUI: XML to Nasal bridge, to keep PUI dialogs working 2022-03-09 16:52:19 +00:00
Input FGButton: Make init()'s "module" parameter const 2022-07-13 23:46:23 +01:00
Instrumentation Mach number added to mode-S XPDR properties, exposed to MP (for ATC). 2022-07-26 10:30:14 +01:00
Main Call fgInitAllowedPaths() between updates of aircraft paths and -set.xml parsing 2022-08-27 20:01:55 +02:00
Model Marker pins 2022-01-27 08:47:48 +00:00
MultiPlayer Minor changes 2022-08-24 15:14:57 +02:00
Navaids Launcher and startup support for TACANs 2022-05-31 10:18:16 +01:00
Network [swift] Pass struct to updatePlanes() instead of multiple vectors 2022-04-06 07:53:51 +01:00
Radio 'using' statement are for source files, not header files 2022-01-15 01:48:01 -06:00
Scenery WS30: Add property controlling splitting water mesh 2022-02-01 16:48:54 +00:00
Scripting Replace fgValidatePath() with SGPath::validate() 2022-08-22 13:35:15 +02:00
Sound FGSoundManager: fix path handling in playAudioSampleCommand() 2022-08-20 08:27:45 +02:00
Systems 'using' statement are for source files, not header files 2022-01-15 01:48:01 -06:00
Time Use std::function for callbacks 2022-05-25 10:38:20 +01:00
Traffic Remove Sentry XML error suppression 2021-07-28 13:45:23 +01:00
Viewer Minor changes 2022-08-24 15:14:57 +02:00
CMakeLists.txt Switch to using OBJECT library for main build 2021-03-08 16:59:14 +00:00