diff options
Diffstat (limited to 'lib/stitches')
| -rw-r--r-- | lib/stitches/auto_fill.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py index 771be6dd..b5f20afb 100644 --- a/lib/stitches/auto_fill.py +++ b/lib/stitches/auto_fill.py @@ -158,7 +158,8 @@ def build_fill_stitch_graph(shape, angle, row_spacing, end_row_spacing, starting def insert_node(graph, shape, node): """Add node to graph, splitting one of the outline edges""" - node = tuple(node) + + node = nearest_node(graph, tuple(node)) point = shgeo.Point(node) edges = [] |
