From 45dda2616d4d636759136e2c65998670ea06855c Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 12 Nov 2024 19:07:24 +0100 Subject: Clipped groups (#3261) --- lib/elements/fill_stitch.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/elements/fill_stitch.py') diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py index c539cf7e..4e5503ca 100644 --- a/lib/elements/fill_stitch.py +++ b/lib/elements/fill_stitch.py @@ -782,10 +782,9 @@ class FillStitch(EmbroideryElement): return ensure_multi_polygon(set_precision(shape, 0.00000000001), 3) def _get_clipped_path(self): - if self.node.clip is None: - return self.original_shape - clip_path = get_clip_path(self.node) + if clip_path is None: + return self.original_shape # make sure clip path and shape are valid clip_path = make_valid(clip_path) -- cgit v1.2.3