add support for trim/stop commands

pull/224/head
Lex Neva 2018-06-30 14:18:45 -04:00
rodzic 61983b615b
commit 3893d13b52
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -268,8 +268,8 @@ class EmbroideryElement(object):
patches = self.to_patches(last_patch)
if patches:
patches[-1].trim_after = self.trim_after
patches[-1].stop_after = self.stop_after
patches[-1].trim_after = self.has_command("trim") or self.trim_after
patches[-1].stop_after = self.has_command("stop") or self.stop_after
return patches