diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/elements/stroke.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/stroke.py b/lib/elements/stroke.py index 7c1c39fd..14501c87 100644 --- a/lib/elements/stroke.py +++ b/lib/elements/stroke.py @@ -508,7 +508,7 @@ class Stroke(EmbroideryElement): @cache def as_multi_line_string(self): - line_strings = [shgeo.LineString(path) for path in self.paths] + line_strings = [shgeo.LineString(path) for path in self.paths if len(path) > 1] return shgeo.MultiLineString(line_strings) @property |
