summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2022-07-23 11:56:27 -0400
committerLex Neva <github.com@lexneva.name>2023-02-18 22:34:36 -0500
commit89441d3d59759301397a6a3666b2f9d695be1ef8 (patch)
treee68fa6ce5f8d619facf87cb06e1538dd1e7bde21
parent20e419d79510b5acc80be14c76cd9128ea82afa1 (diff)
use commands in cache key
-rw-r--r--lib/elements/element.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index d64b2260..6dc60f34 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -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