fix for retraction speed set to 0
This commit is contained in:
parent
e44ea73683
commit
a133236a0a
2 changed files with 3 additions and 3 deletions
|
|
@ -334,7 +334,7 @@
|
|||
let minx = Infinity, maxx = -Infinity;
|
||||
let peek = 0;
|
||||
for (let slice of slices) {
|
||||
if (slice.groups.length && peek++ < 5) {
|
||||
if (slice.tops.length && peek++ < 5) {
|
||||
for (let poly of slice.topPolys()) {
|
||||
minx = Math.min(minx, poly.bounds.minx);
|
||||
maxx = Math.max(maxx, poly.bounds.maxx);
|
||||
|
|
|
|||
Loading…
Reference in a new issue