18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 09:36:48 +01:00
Files
maszyna/application
maj00r a3cb198764 fix(editor): the outlines of the failed photo tiles don't keep the ground cache growing
With the photo draped, the 3D view and the tiles failing (offline), draw_orthophoto_failures asked ground_heights for the
corners of up to 400 tiles every frame. That gathered a 256 m ground tile per frame without end, and since every tile it
asked for was used in that frame, the eviction stopped and the ground cache grew past its limit over the download area.

The heights under the corners are now kept per failed tile. Two tiles are asked for a frame: one with a corner not found
yet each second, one found all round each 30 s, as the ground under it may have come or changed since. The entries of the
tiles no longer failing are dropped, and all of them when the photo is off or nothing fails. A corner not found yet is
drawn at the height of the layer, as before.
2026-11-30 20:37:46 +01:00
..