diff options
| -rw-r--r-- | lib/elements/fill_stitch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py index df990652..b310ce47 100644 --- a/lib/elements/fill_stitch.py +++ b/lib/elements/fill_stitch.py @@ -531,7 +531,7 @@ class FillStitch(EmbroideryElement): polygons = [] for polygon in valid_shape.geoms: - if isinstance(polygon, shgeo.Polygon): + if isinstance(polygon, shgeo.Polygon) and polygon.area > 5: polygons.append(polygon) if isinstance(polygon, shgeo.MultiPolygon): polygons.extend(polygon.geoms) |
