mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
A height read after the camera and tiles settled was kept until either changed, but swapping the terrain provider or the globe with a still camera changed neither, so the previous terrain's elevation could stand indefinitely. The cache is now cleared when either identity changes, checked before the flat-globe answer so terrain -> flat -> terrain is covered too. Found in review by kvnloo. Co-Authored-By: Claude Fable 5.2 <[email protected]>
493 B
493 B
- Fix the page freezing for seconds at a time with Transit on over a terrain globe, most visibly while zooming over a large fleet. Every reread asked the terrain for the height of every trail fix of every vehicle in view; heights are now kept per point, read again only while the camera moves or tiles load, and read within a time budget that puts vehicle positions first. Switching the terrain provider or globe starts the kept heights afresh (mazy1998, review by kvnloo, #1688).