disable depth-first or indexed milling (some open paths are omitted)
This commit is contained in:
parent
f9cc6d1cb2
commit
5289ba7dd5
2 changed files with 2 additions and 2 deletions
|
|
@ -410,7 +410,7 @@ class OpRough extends CamOp {
|
|||
let danger = controller.danger;
|
||||
let easeDown = process.camEaseDown;
|
||||
let cutdir = process.camConventional;
|
||||
let depthFirst = process.camDepthFirst;
|
||||
let depthFirst = process.camDepthFirst && !state.isIndexed;
|
||||
let depthData = [];
|
||||
|
||||
setTool(op.tool, op.rate, op.plunge);
|
||||
|
|
|
|||
|
|
@ -509,7 +509,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
|
||||
function depthRoughPath(start, depth, levels, tops, emitter, fit, ease) {
|
||||
let level = levels[depth];
|
||||
if (!level) {
|
||||
if (!(level && level.length)) {
|
||||
return start;
|
||||
}
|
||||
let ltops = tops[depth];
|
||||
|
|
|
|||
Loading…
Reference in a new issue