checkpoint shell finish speed multiplier work
This commit is contained in:
parent
0784e11c50
commit
b11770b1b5
3 changed files with 18 additions and 6 deletions
|
|
@ -376,7 +376,13 @@ var gs_kiri_slice = exports;
|
|||
POLY.expand([top.poly], -offset1, top.poly.getZ(), top.traces, count, -offsetN, function(polys, countNow) {
|
||||
last = polys;
|
||||
// mark each poly with depth (offset #) starting at 0
|
||||
polys.forEach(function(p) { p.depth = count - countNow });
|
||||
polys.forEach(function(p) {
|
||||
p.depth = count - countNow;
|
||||
if (p.inner) p.inner.forEach(function(pi) {
|
||||
// use negative offset for inners
|
||||
pi.depth = -(count - countNow);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue