do not ommit last point

pull/2297/head
Kaalleen 2023-05-20 23:24:36 +02:00
rodzic 65bbfe9662
commit 839a43929b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -58,9 +58,10 @@ class ZigzagLineToSatin(InkstitchExtension):
skip = False
continue
points.append(p0)
if inkex.DirectedLineSegment(p0, p1).length < 0.3:
if inkex.DirectedLineSegment(p0, p1).length < 0.4:
sharp_edges.append(p0)
skip = True
points.append(p1)
return points, sharp_edges
def _get_rails_and_rungs(self, point_list):