]> git.mxchange.org Git - flightgear.git/commit
Restructure positional finalisation for sim-reset.
authorJames Turner <zakalawe@mac.com>
Sat, 15 Dec 2012 15:25:45 +0000 (15:25 +0000)
committerJames Turner <zakalawe@mac.com>
Sat, 15 Dec 2012 15:25:45 +0000 (15:25 +0000)
commit487638be7fde7d75466c2df4c9019f7d177f4cff
tree67ffc2433fcbd149ac5215dca6f92650160fee47
parentc9976155d67731cfcd7bd300840125b8c7be290b
Restructure positional finalisation for sim-reset.

Make position finalisation happen in the same phase as scenery load, i.e as a task during the main loop, instead of during the init loop. This is compatible with the existing reset logic. Unfortunately more work is needed; the environment code doesn't update the local station quickly enough on reset. (Fixing that is next!)
src/Main/fg_init.cxx
src/Main/main.cxx
src/Main/positioninit.cxx
src/Main/positioninit.hxx
src/Scenery/tilemgr.cxx
src/Viewer/renderer.cxx
src/Viewer/renderer.hxx