fix cnc zip output when repeating the same op with different tools
This commit is contained in:
parent
155cac0c6a
commit
7690816a7c
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ CAM.export = function(print, online) {
|
||||||
|
|
||||||
// emit all points in layer/point order
|
// emit all points in layer/point order
|
||||||
for (let layerout of print.output) {
|
for (let layerout of print.output) {
|
||||||
if (mode !== layerout.mode) {
|
if (mode !== layerout.mode || consts.tool !== layerout[0].tool) {
|
||||||
if (mode && !stripComments) {
|
if (mode && !stripComments) {
|
||||||
append("; ending " + mode + " op after " + Math.round(time/60) + " seconds");
|
append("; ending " + mode + " op after " + Math.round(time/60) + " seconds");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue