fix retraction attempt on empty sequence
This commit is contained in:
parent
68a09973d8
commit
586c861274
1 changed files with 3 additions and 1 deletions
|
|
@ -533,7 +533,9 @@ class Print {
|
|||
});
|
||||
break;
|
||||
case 'G10':
|
||||
seq.last().retract = true;
|
||||
if (seq && seq.length) {
|
||||
seq.last().retract = true;
|
||||
}
|
||||
break;
|
||||
case 'G11':
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue