fix mis-detection of extrusion touching belt

This commit is contained in:
stewart allen 2021-04-28 13:48:57 -04:00
commit 02e0235b4b

View file

@ -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