diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-11-12 19:07:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 19:07:24 +0100 |
| commit | 45dda2616d4d636759136e2c65998670ea06855c (patch) | |
| tree | 0dd33c7ab51cb69b0b6128df0095c5f84e876f2b /lib/elements/fill_stitch.py | |
| parent | 7c99a138d12bcd5f9f4cdbfd3ff7c2b15ec890e4 (diff) | |
Clipped groups (#3261)
Diffstat (limited to 'lib/elements/fill_stitch.py')
| -rw-r--r-- | lib/elements/fill_stitch.py | 5 |
1 files changed, 2 insertions, 3 deletions
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) |
