fix redundant path output in depth-first mode
This commit is contained in:
parent
0d03bc3aa9
commit
26c0a5cf69
7 changed files with 19 additions and 12 deletions
|
|
@ -424,7 +424,7 @@
|
|||
fitted.filter(top => !top.level_emit).forEach(top => {
|
||||
top.level_emit = true;
|
||||
let inside = level.filter(poly => poly.isInside(top));
|
||||
start = poly2polyEmit(inside, start, emitter, { mark: "emark" });
|
||||
start = poly2polyEmit(inside, start, emitter, { mark: "emark", perm: true });
|
||||
start = depthRoughPath(start, depth + 1, levels, tops, emitter, top);
|
||||
});
|
||||
return start;
|
||||
|
|
|
|||
Loading…
Reference in a new issue