fill: first stitch correction (#3391)

pull/3404/head dev-build-kaalleen-fill-first-stitch
Kaalleen 2025-01-01 07:54:14 +01:00 zatwierdzone przez GitHub
rodzic 44dd9bada3
commit 8c7c208b5e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -894,7 +894,8 @@ class FillStitch(EmbroideryElement):
@property
def first_stitch(self):
# Serves as a reverence point for the end point of the previous element
# This isn't really used for fill stitches as they always make their first stitch point dependent on the previous element itself
if self.get_command('starting_point'):
return shgeo.Point(*self.get_command('starting_point').target_point)
return None
def get_starting_point(self, previous_stitch_group):