summaryrefslogtreecommitdiff
path: root/lib/elements/fill_stitch.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elements/fill_stitch.py')
-rw-r--r--lib/elements/fill_stitch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py
index ee77cd60..923ce23f 100644
--- a/lib/elements/fill_stitch.py
+++ b/lib/elements/fill_stitch.py
@@ -774,7 +774,7 @@ class FillStitch(EmbroideryElement):
paths.sort(key=lambda point_list: shgeo.Polygon(point_list).area, reverse=True)
shape = shgeo.MultiPolygon([(paths[0], paths[1:])])
if self.node.style('fill-rule') == 'nonzero':
- shape = shape.buffer(0)
+ shape = ensure_multi_polygon(shape.buffer(0))
return shape
@property