Menu

Commit [c7a2ae]  Maximize  Restore  History

Call fgInitAllowedPaths() earlier: after Options::processOptions()

Call fgInitAllowedPaths() right after Options::processOptions() (which,
among other things, determines $FG_ROOT and processes
--allow-nasal-read). This way, fgInitAllowedPaths() can be used in much
more code, such as when initializing subsystems.

Florent Rougon Florent Rougon 2017-08-26

changed src/Main/fg_init.cxx
changed src/Main/main.cxx
changed src/Scripting/NasalSys.cxx
src/Main/fg_init.cxx Diff Switch to side-by-side view
Loading...
src/Main/main.cxx Diff Switch to side-by-side view
Loading...
src/Scripting/NasalSys.cxx Diff Switch to side-by-side view
Loading...