satin: skip contour underlay if there are no pairs (#3912)

pull/3927/head dev-build-kaalleen-stroke-params
Kaalleen 2025-08-19 13:59:02 +02:00 zatwierdzone przez GitHub
rodzic 9263affdd5
commit 2417b351d2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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,