perf: reuse wall topology for light transport

Issue: #322
User-Visible: no
This commit is contained in:
Matysh
2026-08-27 15:00:30 +03:00
parent 674607694f
commit 780b7a6c7a
9 changed files with 271 additions and 77 deletions
+2 -2
View File
@@ -1631,8 +1631,8 @@ export const MUTANTS = [
+ 'стену в сплошную и обязан увидеть смену освещённости соседней комнаты',
patches: [{
file: 'src/houseplan-card.ts',
find: 'if (this._lightBarrierCache?.key === cacheKey) return this._lightBarrierCache.value;',
replace: 'if (this._lightBarrierCache) return this._lightBarrierCache.value;',
find: ' const cacheKey = `${space.id}|${fingerprint}`;',
replace: ' const cacheKey = space.id; // mutant: ignore changed geometry',
}],
},
{