diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-06-05 07:29:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-05 07:29:17 +0200 |
| commit | dcb1b0859779fc40aac3413086489763029b5c23 (patch) | |
| tree | ca9aa594a65cfb9e1b78f493b941399e8e4b7336 | |
| parent | ca220c6868d612ac7cb16292144e02ce58f205e8 (diff) | |
fix circular fill (#2350)
| -rw-r--r-- | lib/stitches/circular_fill.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/circular_fill.py b/lib/stitches/circular_fill.py index 9a4d6fbc..e63f5607 100644 --- a/lib/stitches/circular_fill.py +++ b/lib/stitches/circular_fill.py @@ -118,7 +118,7 @@ def _get_start_end_sequence(outline, start, end): def path_to_stitches(path, travel_graph, fill_stitch_graph, running_stitch_length, running_stitch_tolerance, skip_last): - path = collapse_sequential_outline_edges(path) + path = collapse_sequential_outline_edges(path, fill_stitch_graph) stitches = [] @@ -144,6 +144,6 @@ def path_to_stitches(path, travel_graph, fill_stitch_graph, running_stitch_lengt travel_graph.remove_edges_from(fill_stitch_graph[edge[0]][edge[1]]['segment'].get('underpath_edges', [])) else: - stitches.extend(travel(travel_graph, edge[0], edge[1], running_stitch_length, running_stitch_tolerance, skip_last)) + stitches.extend(travel(travel_graph, edge, running_stitch_length, running_stitch_tolerance, skip_last)) return stitches |
