summaryrefslogtreecommitdiff
path: root/lib/stitches/linear_gradient_fill.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-08-17 17:28:08 +0200
committerGitHub <noreply@github.com>2024-08-17 17:28:08 +0200
commit404c483cc7c220b2521ab06011bf612303ca2029 (patch)
tree2d8da8371ff18fc31a9591e470ad3433a9cefdbf /lib/stitches/linear_gradient_fill.py
parent5e387d76a77d9f4a780a4e8ee4ac9f88f842f512 (diff)
fix fills without underpath and bad start-end positions (#3141)
Diffstat (limited to 'lib/stitches/linear_gradient_fill.py')
-rw-r--r--lib/stitches/linear_gradient_fill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/linear_gradient_fill.py b/lib/stitches/linear_gradient_fill.py
index c0c07e0d..3b2d0938 100644
--- a/lib/stitches/linear_gradient_fill.py
+++ b/lib/stitches/linear_gradient_fill.py
@@ -289,7 +289,7 @@ def _get_stitch_groups(fill, shape, colors, color_lines, starting_point, ending_
graph_make_valid(fill_stitch_graph)
travel_graph = build_travel_graph(fill_stitch_graph, shape, fill.angle, False)
- path = find_stitch_path(fill_stitch_graph, travel_graph, starting_point, ending_point)
+ path = find_stitch_path(fill_stitch_graph, travel_graph, starting_point, ending_point, False)
stitches = path_to_stitches(
shape,
path,