diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-08-17 07:26:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-17 07:26:52 +0200 |
| commit | 88fa78a9ad9f723edf32c4e9bd7b803b04899c66 (patch) | |
| tree | c9a7cce94d84422bd0dbf3bae860b1f330855a9b /lib/extensions/auto_satin.py | |
| parent | 2f3737e3cf190df40be149dee4e5de17d2cc76b8 (diff) | |
auto satin: filter zero length strokes as well (#3139)
Diffstat (limited to 'lib/extensions/auto_satin.py')
| -rw-r--r-- | lib/extensions/auto_satin.py | 2 |
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: |
