From b0105196889a463579aab21cd29bbf1abb96dab1 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 7 Dec 2024 15:20:11 +0100 Subject: Enable start end commands for satins (#3315) Updates commands fill_start (_end) => starting_point (_end) stain_start (_end) and run_start (_end) => autoroute_start ripple_target => target_point Sets inkstitch svg version to 3 --- lib/svg/path.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/svg/path.py') diff --git a/lib/svg/path.py b/lib/svg/path.py index 9d92058b..548a82f2 100644 --- a/lib/svg/path.py +++ b/lib/svg/path.py @@ -87,6 +87,9 @@ def line_strings_to_csp(line_strings): except AttributeError: pass + if line_strings is None: + return None + return point_lists_to_csp(ls.coords for ls in line_strings) -- cgit v1.2.3