diff options
Diffstat (limited to 'embroider.py')
| -rw-r--r-- | embroider.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embroider.py b/embroider.py index bd4d1abe..9d51419e 100644 --- a/embroider.py +++ b/embroider.py @@ -289,7 +289,8 @@ class Fill(EmbroideryElement): last_pt = pt else: last_pt = pt - poly_ary.append(point_ary) + if point_ary: + poly_ary.append(point_ary) # shapely's idea of "holes" are to subtract everything in the second set # from the first. So let's at least make sure the "first" thing is the |
