fix zBottom with step down and outline
This commit is contained in:
parent
877d54e9dd
commit
60107a8110
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ class OpArea extends CamOp {
|
|||
} else
|
||||
if (mode === 'trace') {
|
||||
let { tr_type } = op;
|
||||
let zs = down ? base_util.lerp(zTop, op.thru ? zBottom : area.minZ(), down) : [ bounds.min.z ];
|
||||
let zs = down ? base_util.lerp(zTop, op.thru ? zBottom : Math.max(zBottom, area.minZ()), down) : [ bounds.min.z ];
|
||||
let zroc = 0;
|
||||
let zinc = 1 / zs.length;
|
||||
for (let z of zs) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue