summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-08-17 07:26:52 +0200
committerGitHub <noreply@github.com>2024-08-17 07:26:52 +0200
commit88fa78a9ad9f723edf32c4e9bd7b803b04899c66 (patch)
treec9a7cce94d84422bd0dbf3bae860b1f330855a9b /lib
parent2f3737e3cf190df40be149dee4e5de17d2cc76b8 (diff)
auto satin: filter zero length strokes as well (#3139)
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/auto_satin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/auto_satin.py b/lib/extensions/auto_satin.py
index 495ee989..8536e4ee 100644
--- a/lib/extensions/auto_satin.py
+++ b/lib/extensions/auto_satin.py
@@ -65,7 +65,7 @@ class AutoSatin(CommandsExtension):
# Ignore fills and zero length satins
elements = [element for element in self.elements if (isinstance(element, SatinColumn) and element.center_line.length != 0) or
- isinstance(element, Stroke)]
+ (isinstance(element, Stroke) and element.as_multi_line_string().length != 0)]
# at this point we possibly removed all the elements, in this case stop here
if not elements: