summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-03-09 18:57:55 +0100
committerGitHub <noreply@github.com>2023-03-09 18:57:55 +0100
commitfd6e43cf00548f78daf8ae855f691279e3c90a3b (patch)
tree44774d59038213fb81e8906e61dfbd309aa17da8 /lib/elements/element.py
parentda1cd33f3b7fa6b85a6cdfcb855dc8a16cf3f92c (diff)
Various fixes (#2125)
* add unit info to scale value in ripple stitch * fix apply threadlist with empty description * fix satin type ripple with unequal nodes * fix legacy auto_fill conversion * inform about too small meander shapes
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 51555129..c0b7ee0f 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -74,7 +74,9 @@ class EmbroideryElement(object):
# convert legacy fill_method
legacy_fill_method = self.get_int_param('fill_method', None)
- if legacy_fill_method == 1:
+ if legacy_fill_method == 0:
+ self.set_param('fill_method', 'auto_fill')
+ elif legacy_fill_method == 1:
self.set_param('fill_method', 'contour_fill')
elif legacy_fill_method == 2:
self.set_param('fill_method', 'guided_fill')