diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-08-19 13:59:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 13:59:02 +0200 |
| commit | 2417b351d29f021b41ef855d6156f856bac197ee (patch) | |
| tree | 0aca77f7303904123aadcb2336c6d10d19c9420f /lib/elements/satin_column.py | |
| parent | 9263affdd5304fa27b1de899801e42288827775b (diff) | |
satin: skip contour underlay if there are no pairs (#3912)
Diffstat (limited to 'lib/elements/satin_column.py')
| -rw-r--r-- | lib/elements/satin_column.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/elements/satin_column.py b/lib/elements/satin_column.py index a48f3793..3f427724 100644 --- a/lib/elements/satin_column.py +++ b/lib/elements/satin_column.py @@ -1353,6 +1353,9 @@ class SatinColumn(EmbroideryElement): self.contour_underlay_stitch_tolerance, -self.contour_underlay_inset_px, -self.contour_underlay_inset_percent/100) + if not pairs: + return [] + first_side = running_stitch.even_running_stitch( [points[0] for points in pairs], self.contour_underlay_stitch_length, |
