Map 3D screenshots: don't count a view as loaded before the map data is in #338

Manually merged
github merged 1 commit from gh-pr/338/head into gh-pr/338/base 2026-11-26 20:28:38 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 02:24 UTC · original
holdmysocks:six-map3d-shot-ready → master · +6 −2 · 1 files · 1 commits · merged 2026-11-26 03:12 UTC

About one screenshot run in two reported its view loaded after 3-5 s with 0 models, untextured terrain and a flat sea. Before the map data and the terrain's height pyramid are in, nothing is queued, so the empty queue passed for a loaded view.

A view now counts as loaded only once the map data is in and, with the terrain shown, its height pyramid too. The quiet-frame and model checks then run as before. SIX-211.

Checked: cargo check -p sixng-gui --tests gives no warnings. Screenshot runs on the test PC: 5 of 5 cold runs at the same view loaded all 2,861 models (first view 6.0-7.9 s; master 6.1-6.2 s). The empty-view case did not come up on master in that session either, so the runs show no regression rather than the fix.

**@⁠holdmysocks** on GitHub · 2026-11-26 02:24 UTC · [original](https://github.com/holdmysocks/SixNG/pull/338) `holdmysocks:six-map3d-shot-ready` → `master` · +6 −2 · 1 files · 1 commits · merged 2026-11-26 03:12 UTC About one screenshot run in two reported its view loaded after 3-5 s with 0 models, untextured terrain and a flat sea. Before the map data and the terrain's height pyramid are in, nothing is queued, so the empty queue passed for a loaded view. A view now counts as loaded only once the map data is in and, with the terrain shown, its height pyramid too. The quiet-frame and model checks then run as before. SIX-211. Checked: `cargo check -p sixng-gui --tests` gives no warnings. Screenshot runs on the test PC: 5 of 5 cold runs at the same view loaded all 2,861 models (first view 6.0-7.9 s; master 6.1-6.2 s). The empty-view case did not come up on master in that session either, so the runs show no regression rather than the fix.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:28:36 +00:00
github manually merged commit 9af9a96044 into gh-pr/338/base 2026-11-26 20:28:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.