Revert "fix(render): Phase A8 RR7.3 — dat-driven BFS in BuildingLoader"

This reverts commit 56673e1b1e.
This commit is contained in:
Erik 2026-05-27 14:07:13 +02:00
parent 56673e1b1e
commit 07c5981824
2 changed files with 47 additions and 154 deletions

View file

@ -5895,17 +5895,7 @@ public sealed class GameWindow : IDisposable
uint lbRegistryKey = lb.LandblockId & 0xFFFF0000u;
_buildingRegistries[lbRegistryKey] =
AcDream.App.Rendering.Wb.BuildingLoader.Build(
lbInfo,
lb.LandblockId,
_cellVisibility.AllLoadedCells,
// RR7.3: dat-driven BFS — completes regardless of which
// cells have streamed into _cellVisibility by the time
// lbInfo arrives. Without this, large multi-room
// buildings (Holtburg Inn = 209 leaves, 2 entry portals)
// had EnvCellIds short of the building's actual cell
// set when intermediate cells weren't yet loaded.
dats: _dats,
landblockOrigin: origin);
lbInfo, lb.LandblockId, _cellVisibility.AllLoadedCells);
}
}