limit return to non-empty slices
This commit is contained in:
parent
adbf4f61d7
commit
8fcfdd7499
1 changed files with 2 additions and 1 deletions
|
|
@ -342,7 +342,8 @@ class OpArea extends CamOp {
|
|||
}
|
||||
}
|
||||
|
||||
addSlices(areas.flat());
|
||||
// return only slices containing ares to mill
|
||||
addSlices(areas.flat().filter(s => s.camLines && s.camLines.length));
|
||||
}
|
||||
|
||||
prepare(ops, progress) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue