add missing object for gcode parsing

This commit is contained in:
Stewart Allen 2020-11-10 21:54:18 -05:00
commit 00872cfcf5
2 changed files with 6 additions and 1 deletions

View file

@ -175,7 +175,7 @@ KIRI.worker = {
y: -origin.y,
z: origin.z
};
const print = KIRI.newPrint(settings, Object.values(cache));
const print = current.print = KIRI.newPrint(settings, Object.values(cache));
const tools = settings.device.extruders;
const mode = settings.mode;
const thin = settings.controller.thinRender || mode !== 'FDM';