summaryrefslogtreecommitdiff
path: root/lib/elements
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-04-18 19:03:20 +0200
committerGitHub <noreply@github.com>2025-04-18 19:03:20 +0200
commit04fcf8fd1395be1d4a0ef5706f9f2dccceb0c7fb (patch)
tree0cac087625d26433bb59d60cd24f25e4526149c1 /lib/elements
parentbd472d4bd75926cbf90ccddea63aa0b36294860f (diff)
Fix an issue when auto_satin produces NoneType satins (#3680)
Diffstat (limited to 'lib/elements')
-rw-r--r--lib/elements/satin_column.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/satin_column.py b/lib/elements/satin_column.py
index 16e7b01f..ff5cfe86 100644
--- a/lib/elements/satin_column.py
+++ b/lib/elements/satin_column.py
@@ -1025,9 +1025,9 @@ class SatinColumn(EmbroideryElement):
"""
for path_list in path_lists:
- num_paths = len(path_list)
if path_list is None:
continue
+ num_paths = len(path_list)
if num_paths in (2, 4):
# Add the rung just after the start of the satin.
# If the rails have opposite directions it may end up at the end of the satin.