avoid split if satin doesn't need it

pull/2431/head
Lex Neva 2023-07-23 10:53:55 -04:00
rodzic 6f541a79f3
commit 2358c6fa28
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1346,7 +1346,7 @@ class SatinColumn(EmbroideryElement):
def _get_split_points_staggered(self, a, b, a_short, b_short, length, count=None, length_sigma=0.0, random_phase=False, min_split_length=None,
seed=None, row_num=0, from_end=False, _staggers=None):
if not length:
if not length or a.distance(b) <= length:
return []
if _staggers is None: