return the current print object along with gcode
This commit is contained in:
parent
21b0e2b9d5
commit
db282c93cf
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@
|
||||||
if (currentPrint) {
|
if (currentPrint) {
|
||||||
currentPrint.exportGCode(true, function(gcode) {
|
currentPrint.exportGCode(true, function(gcode) {
|
||||||
if (typeof(options) === 'function') {
|
if (typeof(options) === 'function') {
|
||||||
options(gcode);
|
options(gcode, currentPrint);
|
||||||
} else {
|
} else {
|
||||||
exportGCode(gcode, currentPrint);
|
exportGCode(gcode, currentPrint);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue