Files
gods-eye-view/changelog.d/1688-transit-terrain-height-cache.md
T
Mazeyar Moeini FeizabadiandClaude Fable 5.2 87674240bd fix(transit): start terrain heights afresh when the provider or globe changes
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]>
2026-11-13 03:22:10 +01:00

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).