This commit is contained in:
Stewart Allen 2022-04-27 16:30:45 -04:00
commit 8241b1608c
2 changed files with 8 additions and 1 deletions

View file

@ -169,6 +169,13 @@ FDM.export = function(print, online, ondone, ondebug) {
end: Infinity,
iter: oloops - 1
});
} else if (oloops < 0) {
// if oloops negative, loop entire part to infinity
rloops.push({
start: layers[0].slice.index,
end: Infinity,
iter: 0
});
}
if (process.ranges) {
// collect loops from ranges and synth range array