summaryrefslogtreecommitdiff
path: root/lib/elements/fill_stitch.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-11-10 17:06:32 +0100
committerGitHub <noreply@github.com>2023-11-10 17:06:32 +0100
commitd6f8fc00c9a30bdb1f9284efc93f4aa9330802ee (patch)
tree75774de1079667c06b85ecc5b4dc0ee1d29c31e4 /lib/elements/fill_stitch.py
parentf0262a5709837ad6e1bb1ec5bc7366c66ffc7560 (diff)
return valid shape (#2594)
Diffstat (limited to 'lib/elements/fill_stitch.py')
-rw-r--r--lib/elements/fill_stitch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py
index b20407f9..b20c2715 100644
--- a/lib/elements/fill_stitch.py
+++ b/lib/elements/fill_stitch.py
@@ -562,6 +562,7 @@ class FillStitch(EmbroideryElement):
polygons.append(polygon)
if isinstance(polygon, shgeo.MultiPolygon):
polygons.extend(polygon.geoms)
+ return shgeo.MultiPolygon(polygons)
def _get_clipped_path(self):
if self.node.clip is None: