fixes #201 implicit beltAnchor when using engine

This commit is contained in:
Stewart Allen 2022-02-12 10:44:50 -05:00
commit 770a671ea9
2 changed files with 5 additions and 3 deletions

View file

@ -409,7 +409,7 @@
}
// array of added top.fill_sparse arrays
let adds = [];
let anchorlen = process.beltAnchor * beltfact;
let anchorlen = (process.beltAnchor || process.firstLayerBeltLead) * beltfact;
while (anchorlen && start && anchorlen >= sliceHeight) {
let addto = start.down;
if (!addto) {