restore gcode preview. bump rev 2.3.D4
This commit is contained in:
parent
cea9e60e0a
commit
fff3ad5db6
11 changed files with 113 additions and 221 deletions
|
|
@ -353,9 +353,9 @@
|
|||
}
|
||||
}
|
||||
let polys = [], t = [], c = [];
|
||||
POLY.flatten(slice.camLines).forEach(function (poly) {
|
||||
POLY.flatten(slice.camLines.clone(true)).forEach(function (poly) {
|
||||
let child = poly.parent;
|
||||
if (depthFirst) poly = poly.clone();
|
||||
if (depthFirst) poly = poly.clone(true);
|
||||
if (child) c.push(poly); else t.push(poly);
|
||||
poly.layer = depthData.layer;
|
||||
polys.push(poly);
|
||||
|
|
|
|||
Loading…
Reference in a new issue