From ffc0db1ddf2f790fecaa67cdacec87f207e999e8 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 19 Jul 2025 22:30:15 +0200 Subject: Convert to satin internally (3874) --- lib/elements/clone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/elements/clone.py') diff --git a/lib/elements/clone.py b/lib/elements/clone.py index 5d0ae7fa..bc668bf6 100644 --- a/lib/elements/clone.py +++ b/lib/elements/clone.py @@ -76,7 +76,7 @@ class Clone(EmbroideryElement): def clone_to_elements(self, node: BaseElement) -> List[EmbroideryElement]: # Only used in get_cache_key_data, actual embroidery uses nodes_to_elements+iterate_nodes - from .utils import node_to_elements + from .utils.nodes import node_to_elements elements = [] if node.tag in EMBROIDERABLE_TAGS: elements = node_to_elements(node, True) @@ -141,7 +141,7 @@ class Clone(EmbroideryElement): Could possibly be refactored into just a generator - being a context manager is mainly to control the lifecycle of the elements that are cloned (again, for testing convenience primarily) """ - from .utils import iterate_nodes, nodes_to_elements + from .utils.nodes import iterate_nodes, nodes_to_elements cloned_nodes = self.resolve_clone() try: -- cgit v1.2.3