mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 22:49:16 +00:00
fix(walls): bound multi-wall repairs to finite rays
Issue: #271 User-Visible: yes
This commit is contained in:
@@ -292,6 +292,19 @@ export const MUTANTS = [
|
||||
+ ' else if (envelope) localInside = intersection(localInside, envelope);',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'multi-wall-finite-ray-disabled',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
+ '&& node --test --test-name-pattern="issue #271 keeps finite" '
|
||||
+ 'test/wall-thickness.test.mjs',
|
||||
because: 'a degree-3 repair must stop at every real interval endpoint; restoring the '
|
||||
+ 'node-wide 8H rectangle recreates the phantom wall and light barrier from #271',
|
||||
patches: [{
|
||||
file: 'src/wall-thickness.ts',
|
||||
find: ' const supportExtent = Math.min(extent, support.length);',
|
||||
replace: ' const supportExtent = extent;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'wall-exact-span-fallback-disabled',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
|
||||
Reference in New Issue
Block a user