diff --git a/src/kiri/export.js b/src/kiri/export.js index 112ded0a..86d4c50b 100644 --- a/src/kiri/export.js +++ b/src/kiri/export.js @@ -77,7 +77,7 @@ if (currentPrint) { currentPrint.exportGCode(true, function(gcode) { if (typeof(options) === 'function') { - options(gcode); + options(gcode, currentPrint); } else { exportGCode(gcode, currentPrint); }