use commands in cache key

pull/1732/head
Lex Neva 2022-07-23 11:56:27 -04:00
rodzic 20e419d795
commit 89441d3d59
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -429,6 +429,7 @@ class EmbroideryElement(object):
cache_key_generator.update(self.parse_path())
cache_key_generator.update(list(self._get_specified_style().items()))
cache_key_generator.update(previous_stitch)
cache_key_generator.update([(c.command, c.target_point) for c in self.commands])
# TODO: include commands and patterns that apply to this element