fix missing inner polygons on conversion of slice to print
This commit is contained in:
parent
2cf90ac77c
commit
ac96381dfa
1 changed files with 1 additions and 1 deletions
|
|
@ -1212,7 +1212,7 @@ var gs_kiri_cam = exports;
|
||||||
if (!top.poly) return;
|
if (!top.poly) return;
|
||||||
if (!top.traces) return;
|
if (!top.traces) return;
|
||||||
var polys = [];
|
var polys = [];
|
||||||
top.traces.forEach(function (poly) {
|
POLY.flatten(top.traces, []).forEach(function (poly) {
|
||||||
if (depthFirst) poly = poly.clone(true);
|
if (depthFirst) poly = poly.clone(true);
|
||||||
poly.layer = depthData.layer;
|
poly.layer = depthData.layer;
|
||||||
polys.push(poly);
|
polys.push(poly);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue