From fd6e43cf00548f78daf8ae855f691279e3c90a3b Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 9 Mar 2023 18:57:55 +0100 Subject: 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 --- lib/elements/element.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/elements/element.py') 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') -- cgit v1.2.3