diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-07-11 22:14:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 22:14:52 +0200 |
| commit | 2235ec6571601e12be7eb3c74907668fb68bebd4 (patch) | |
| tree | 61d85cb615a1b2327283e89f09592e1eb85ad91c /lib/extensions/break_apart.py | |
| parent | 7bd72274780ccaeae8bbae6e761341079df21ecb (diff) | |
Fix issue with bad color names (#3816)
* fix issue with bad color names and define element colors at one place and reuse
* fix bad tartan color
* verify color in gradient block
* add thread color tests
* use default color behavior for elements linked to non-existing definitions (gradients)
* Added mypy change for tests (authored by: CapellanCitizen)
Diffstat (limited to 'lib/extensions/break_apart.py')
| -rw-r--r-- | lib/extensions/break_apart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/break_apart.py b/lib/extensions/break_apart.py index 21806251..05f9375a 100644 --- a/lib/extensions/break_apart.py +++ b/lib/extensions/break_apart.py @@ -39,7 +39,7 @@ class BreakApart(InkstitchExtension): elements.append(EmbroideryElement(node)) for element in elements: - if not element.get_style("fill", "black"): + if not element.fill_color: continue # we don't want to touch valid elements |
