summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-04-20 18:56:57 +0200
committerGitHub <noreply@github.com>2023-04-20 18:56:57 +0200
commitf13864b3bc82860a103438a75884132206e47d5e (patch)
tree52e9980bab95d3148bd2b10637b644bf1a6c43ed /lib/elements/element.py
parent13b354c7158bf56b9cfff4bed9f031f744412448 (diff)
Fix custom lock (#2224)
Authored by: Lex Neva
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 269cbdc2..9363495b 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -476,12 +476,12 @@ class EmbroideryElement(object):
if tie_modus in [0, 1]:
lock_start = LockStitch('start', self.lock_start, scale_percent=self.lock_start_scale_percent, scale_absolute=self.lock_start_scale_mm)
if self.lock_start == "custom":
- lock_start.path = self.lock_custom_start
+ lock_start.set_path(self.lock_custom_start)
if tie_modus in [0, 2] or force:
lock_end = LockStitch('end', self.lock_end, scale_percent=self.lock_end_scale_percent, scale_absolute=self.lock_end_scale_mm)
if self.lock_end == "custom":
- lock_end.path = self.lock_custom_end
+ lock_end.set_path(self.lock_custom_end)
return lock_start, lock_end