fix duplicate output with trace outside and drape option

This commit is contained in:
Stewart Allen 2026-01-06 06:57:01 -05:00
commit 824770c070

View file

@ -322,6 +322,11 @@ class OpArea extends CamOp {
} }
proc += pinc; proc += pinc;
progress(proc, 'trace'); progress(proc, 'trace');
// legacy outline early termination b/c use of
// shadow will cause duplicate output with area
if (tr_type === 'outside' && op.drape) {
break;
}
} else } else
if (mode === 'surface') { if (mode === 'surface') {
let { sr_type, sr_angle, sr_alter, tolerance } = op; let { sr_type, sr_angle, sr_alter, tolerance } = op;