From 2417b351d29f021b41ef855d6156f856bac197ee Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 19 Aug 2025 13:59:02 +0200 Subject: satin: skip contour underlay if there are no pairs (#3912) --- lib/elements/satin_column.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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, -- cgit v1.2.3