1
0
Fork 0
flightgear/src/Scenery
Stuart Buchanan f5b469aee0 Set viewer-[lon|lat]-deg on initial View bind
Previously /sim/current-view/viewer-[lon|lat]-deg were set to
(0,0) when a view was bind() for the first time by the view
manager.  This cause the scenery tile cache to immediately clear
and all scenery to be reloaded.

Now these values are set correctly the first time the view
bind() is called, so the cache behaves correctly.

Also fixed what looks like a possible bug on code read where
the tiles of the current view had a very short expiry time
set.  Seems wrong.
2020-05-10 14:17:40 +01:00
..
CMakeLists.txt Alternative terrain engine based on pagedLOD 2017-02-26 10:17:15 -05:00
design source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
redout.cxx Change the order of the main cameras from NESTED_RENDER to POST_RENDER 2009-01-03 23:56:03 +01:00
redout.hxx Modified Files: 2007-05-03 18:47:39 +00:00
scenery.cxx SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
scenery.hxx SGSubsystem classes: Renaming of the subsystem ID variables and functions. 2019-07-01 14:27:30 +02:00
SceneryPager.cxx Fix some warnings from current Apple clang 2020-03-10 17:02:08 +00:00
SceneryPager.hxx Fix some leaks on reset 2014-03-13 18:19:13 +00:00
terrain.hxx Alternative terrain engine based on pagedLOD 2017-02-26 10:17:15 -05:00
terrain_pgt.cxx Replace boost::lexical_cast by std::ostringstream and std:stof/stoi/stod 2020-04-22 14:06:13 +01:00
terrain_pgt.hxx SGSubsystem classes: Renaming of the subsystem ID variables and functions. 2019-07-01 14:27:30 +02:00
terrain_stg.cxx Reduce log output at level=debug 2019-01-22 17:30:36 +01:00
terrain_stg.hxx SGSubsystem classes: Renaming of the subsystem ID variables and functions. 2019-07-01 14:27:30 +02:00
tilecache.cxx Set viewer-[lon|lat]-deg on initial View bind 2020-05-10 14:17:40 +01:00
tilecache.hxx Respect tile expiry time when cache is disabled. 2014-05-24 14:23:59 +01:00
tileentry.cxx Remove some debug log calls. 2014-01-23 13:49:58 +00:00
tileentry.hxx Set viewer-[lon|lat]-deg on initial View bind 2020-05-10 14:17:40 +01:00
tilemgr.cxx Replace boost::lexical_cast by std::ostringstream and std:stof/stoi/stod 2020-04-22 14:06:13 +01:00
tilemgr.hxx LOD ranges rework. 2018-10-30 21:05:55 +01:00