summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-05-02 06:53:40 +0200
committerGitHub <noreply@github.com>2024-05-02 06:53:40 +0200
commit44442712b926ba134c4d1d674fdcb2d300684f77 (patch)
tree215bde57053b18e261e68093df084a9805de97a7 /lib/stitches
parent04e74c2c8ff727256cd9c4b7bef014a96fb70849 (diff)
move default tartan starting point (#2877)
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/tartan_fill.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/tartan_fill.py b/lib/stitches/tartan_fill.py
index 4d9f3b0f..acac1ed1 100644
--- a/lib/stitches/tartan_fill.py
+++ b/lib/stitches/tartan_fill.py
@@ -710,8 +710,8 @@ def _get_fill_stitch_groups(
if stitch_groups:
starting_point = stitch_groups[-1].stitches[-1]
else:
- starting_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[0]
- ending_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[0]
+ starting_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[1]
+ ending_point = ensure_multi_line_string(shape.boundary).geoms[0].coords[1]
segments = [list(line.coords) for line in lines if len(line.coords) > 1]
stitch_group = _segments_to_stitch_group(fill, shape, segments, i, color, starting_point, ending_point)
if stitch_group is not None: