diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2022-02-28 16:24:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 16:24:51 +0100 |
| commit | bd43e007753c1e5baf1f8b191944378beb68c6ec (patch) | |
| tree | df622596578e923dcdc52c78ac3ec93ff74b77b2 /lib/lettering | |
| parent | 5f815a832b06f47df6517f6866b787ffc1ce36bd (diff) | |
Cutwork segmentation (#1582)
* add cutwork segmentation extension
* simulator: option to not render jump stitches
Diffstat (limited to 'lib/lettering')
| -rw-r--r-- | lib/lettering/font.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/lettering/font.py b/lib/lettering/font.py index f0aac11e..104e4b29 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -353,4 +353,6 @@ class Font(object): """ elements = nodes_to_elements(group.iterdescendants(SVG_PATH_TAG)) - auto_satin(elements, preserve_order=True, trim=trim) + + if elements: + auto_satin(elements, preserve_order=True, trim=trim) |
