fix trace op.thru for offset none
This commit is contained in:
parent
e47ef1aae0
commit
645d73a53f
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ class OpArea extends CamOp {
|
||||||
if (tr_type === 'none') {
|
if (tr_type === 'none') {
|
||||||
// todo: move this out of the zs loop and only setZ when needed
|
// todo: move this out of the zs loop and only setZ when needed
|
||||||
area = area.clone(true);
|
area = area.clone(true);
|
||||||
outs = [ zs.length > 1 ? area.setZ(z) : clampZ(area, zTop, zBottom) ];
|
outs = [ zs.length > 1 || op.thru ? area.setZ(z) : clampZ(area, zTop, zBottom) ];
|
||||||
} else {
|
} else {
|
||||||
// drape is legacy outline
|
// drape is legacy outline
|
||||||
let offit = op.drape ? shadow : [ area ];
|
let offit = op.drape ? shadow : [ area ];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue