fix: preserve resize wall thickness carriers

Issue: #298
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-24 22:27:05 +03:00
parent 451932c8e9
commit 3fb2edc904
26 changed files with 563 additions and 269 deletions
+12
View File
@@ -234,6 +234,18 @@ export const MUTANTS = [
replace: " if (false && !movingAxis) return { enabled: false, reason: 'diagonal' };",
}],
},
{
id: 'safe-resize-wall-endpoints-affine-scaled',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
+ '&& node --test --test-name-pattern="issue 298" test/wall-thickness.test.mjs',
because: 'fixed-topology Resize may translate a moving wall or move its topology endpoint, '
+ 'but proportional scaling invents a wall-record coordinate with no carrier (#298)',
patches: [{
file: 'src/wall-thickness.ts',
find: " if (mode === 'fixed-topology') {\n",
replace: " if (false && mode === 'fixed-topology') {\n",
}],
},
{
id: 'safe-resize-third-room-cascade-enabled',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '