fix macro interior/exterior last check
This commit is contained in:
parent
8210f97b71
commit
49109af1bf
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@
|
|||
speedMMM = (out.speed || process.outputFeedrate) * 60; // range
|
||||
|
||||
// emit gcode macro for changed print region
|
||||
if (out.type !== last.type) {
|
||||
if (last && out.type !== last.type) {
|
||||
switch (out.type) {
|
||||
case 'ext':
|
||||
appendAllSub(gcodeExt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue