return the current print object along with gcode

This commit is contained in:
Stewart Allen 2020-07-30 10:44:08 -04:00
commit db282c93cf

View file

@ -77,7 +77,7 @@
if (currentPrint) {
currentPrint.exportGCode(true, function(gcode) {
if (typeof(options) === 'function') {
options(gcode);
options(gcode, currentPrint);
} else {
exportGCode(gcode, currentPrint);
}