diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-12-07 15:20:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-07 15:20:11 +0100 |
| commit | b0105196889a463579aab21cd29bbf1abb96dab1 (patch) | |
| tree | ee99321edd4fd1590430d3003e40468c6289dc7e /lib/svg/path.py | |
| parent | 154309906f34bc3213eb4775dbebc58a1ec7f779 (diff) | |
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
Diffstat (limited to 'lib/svg/path.py')
| -rw-r--r-- | lib/svg/path.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
