Revert "fix(render): Phase A8 RR7.1 — stamp BuildingId on cells loaded across multiple frames"

This reverts commit a1a3e0ee3e.
This commit is contained in:
Erik 2026-05-27 14:07:13 +02:00
parent 9aaae02610
commit 21dc72b010
2 changed files with 11 additions and 34 deletions

View file

@ -176,18 +176,6 @@ public sealed class CellVisibility
/// <summary>Full-ID lookup for O(1) neighbour resolution during BFS.</summary>
private readonly Dictionary<uint, LoadedCell> _cellLookup = new();
/// <summary>
/// Phase A8 RR7.1 (2026-05-27): read-only view of every loaded cell, keyed
/// by full 32-bit cell id. Used by <see cref="Wb.BuildingLoader"/> at
/// landblock-info-arrival time so its BFS can reach cells that streamed
/// in on earlier frames (not just the per-frame drain). Without this view
/// the registry's <c>EnvCellIds</c> set was systematically short, leaving
/// <see cref="LoadedCell.BuildingId"/> unset on the cells the camera
/// actually enters — which silently routed indoor frames through the
/// outdoor branch.
/// </summary>
public IReadOnlyDictionary<uint, LoadedCell> AllLoadedCells => _cellLookup;
/// <summary>The cell the camera was in during the last <see cref="ComputeVisibility"/> call.</summary>
private LoadedCell? _lastCameraCell;