Map bake: read the newer of the two placements exports #376

Manually merged
github merged 1 commit from gh-pr/376/head into gh-pr/376/base 2026-11-26 20:31:42 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 16:24 UTC · original
holdmysocks:six-map3d-bakesrc → master · +27 −6 · 2 files · 1 commits · merged 2026-11-26 17:53 UTC

The map bake now reads the newer of its two placement sources.

The bake can read placements from two places: the full export in work/placements_full, or the World-data export in work/out/placements. Until now the full export always won, even when it was older. A full export made before newer placement decoding kept thousands of placements without a model: about 15.8k HD placements and most LOD and SLOD1 placements on the test PC. The viewer skips those placements, so square holes showed in the ground near marshes and fields.

  • What changes: the bake compares the two exports' index.jsonl times and reads the newer one. map/bake.log names the source it used, on its existing "bake start" line.
  • README: says to export the placements again and re-bake after updating SixNG.

Checked: cargo check --release is clean. A run on the second PC, baking from each source in turn, is pending.

**@⁠holdmysocks** on GitHub · 2026-11-26 16:24 UTC · [original](https://github.com/holdmysocks/SixNG/pull/376) `holdmysocks:six-map3d-bakesrc` → `master` · +27 −6 · 2 files · 1 commits · merged 2026-11-26 17:53 UTC The map bake now reads the newer of its two placement sources. The bake can read placements from two places: the full export in `work/placements_full`, or the World-data export in `work/out/placements`. Until now the full export always won, even when it was older. A full export made before newer placement decoding kept thousands of placements without a model: about 15.8k HD placements and most LOD and SLOD1 placements on the test PC. The viewer skips those placements, so square holes showed in the ground near marshes and fields. - **What changes:** the bake compares the two exports' `index.jsonl` times and reads the newer one. `map/bake.log` names the source it used, on its existing "bake start" line. - **README:** says to export the placements again and re-bake after updating SixNG. **Checked:** `cargo check --release` is clean. A run on the second PC, baking from each source in turn, is pending.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:31:41 +00:00
github manually merged commit 5be83f4e9c into gh-pr/376/base 2026-11-26 20:31:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.