diff --git a/js/kiri-driver-cam.js b/js/kiri-driver-cam.js index 465ad3f7..6c7a9b0b 100644 --- a/js/kiri-driver-cam.js +++ b/js/kiri-driver-cam.js @@ -1540,7 +1540,7 @@ var gs_kiri_cam = exports; // last layer/move is to zmax // injected into the last layer generated - addOutput(newOutput[newOutput.length-1], printPoint = lastPoint.clone().setZ(zmax_outer), 0, 0, tool); + addOutput(newOutput[newOutput.length-1], printPoint = lastPoint.clone().setZ(zmax_outer), 0, 0, tool.number); // replace output single flattened layer with all points print.output = newOutput;