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

@ -402,6 +402,11 @@
};
FDM.prepareRender = function(levels, update, options) {
if (levels.length === 0) {
self.worker.print.maxSpeed = 0;
return [];
}
const opts = options || {};
const tools = opts.tools || {};
const thin = opts.thin || false;