summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2022-04-30 20:17:28 -0400
committerKaalleen <reni@allenka.de>2022-05-04 19:18:33 +0200
commit0625f250c6cfab821f241fbe31ee1c7e0e24bfc1 (patch)
treeac0a865be49ab21f40f5eb3db70f42ac03fa3820
parente14fffb879875cae43124a7daae7cebb5bcadddc (diff)
add missing polygonize()
-rw-r--r--lib/stitches/tangential_fill_stitch_line_creator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/tangential_fill_stitch_line_creator.py b/lib/stitches/tangential_fill_stitch_line_creator.py
index e0bf62e6..466fd6b6 100644
--- a/lib/stitches/tangential_fill_stitch_line_creator.py
+++ b/lib/stitches/tangential_fill_stitch_line_creator.py
@@ -288,7 +288,7 @@ def offset_poly(poly, offset, join_style, stitch_distance, min_stitch_distance,
result = Polygon(outer).difference(
MultiPolygon(poly_inners))
else:
- result = MultiPolygon(outer).difference(
+ result = MultiPolygon(polygonize(outer)).difference(
MultiPolygon(poly_inners))
if not result.is_empty and result.area > offset * offset / 10: