From fa9a7f7f548d92e43d220599df739662f5134c09 Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Thu, 29 Oct 2026 16:42:50 +0100 Subject: [PATCH] fix: villagers coming out of doors and porters show again: the scene dropped them on the way out Co-Authored-By: Claude Opus 5.5 (1M context) --- app/diorama/scene.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/diorama/scene.ts b/app/diorama/scene.ts index c83e5e5..9330b83 100644 --- a/app/diorama/scene.ts +++ b/app/diorama/scene.ts @@ -826,12 +826,13 @@ export function buildScene(village: VillageState, frame: number | { width: numbe // One at a time, so the layers keep the order they were added in. decals: [...decalFaces, ...shadows].flatMap((face) => toPolys([face])), // Wall segments keep their own outlines; the band below covers the stretches between. - objects: objects.map(({ key, polys, building, planned, life }) => ({ + objects: objects.map(({ key, polys, building, planned, life, walker }) => ({ key, polys, building: building ? { ...building, hit: hitOutline(polys, building.ring) } : undefined, planned, life, + walker, })), // Centred halfway up the palisade, so the band covers the wall itself, not only its foot. wallBand: wall ? { id: wall.id, ring: { ...screenRing(0, 0, Rv), cy: -wallTop / 2 }, width: U * 1.6 + wallTop } : null,