From d6f8fc00c9a30bdb1f9284efc93f4aa9330802ee Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Fri, 10 Nov 2023 17:06:32 +0100 Subject: return valid shape (#2594) --- lib/elements/fill_stitch.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/elements/fill_stitch.py') 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: -- cgit v1.2.3