fix erroneous tool reference

This commit is contained in:
Stewart Allen 2020-04-17 09:56:35 -04:00
commit ca87a972c1

View file

@ -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;