fix mis-detection of extrusion touching belt
This commit is contained in:
parent
e973cdd93a
commit
02e0235b4b
1 changed files with 3 additions and 1 deletions
|
|
@ -478,7 +478,9 @@
|
||||||
for (let layer of normout) {
|
for (let layer of normout) {
|
||||||
for (let rec of layer) {
|
for (let rec of layer) {
|
||||||
let point = rec.point;
|
let point = rec.point;
|
||||||
minby = Math.min(minby, -point.y + point.z * bfactor);
|
if (rec.emit) {
|
||||||
|
minby = Math.min(minby, -point.y + point.z * bfactor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// correct y offset to desired layer offset
|
// correct y offset to desired layer offset
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue