diff options
Diffstat (limited to 'lib/extensions/params.py')
| -rwxr-xr-x | lib/extensions/params.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py index cb38585e..0bba13fe 100755 --- a/lib/extensions/params.py +++ b/lib/extensions/params.py @@ -721,9 +721,9 @@ class Params(InkstitchExtension): elif node.tag in EMBROIDERABLE_TAGS and not node.get_path(): pass else: - if element.get_style("fill", 'black') and not element.get_style("fill-opacity", 1) == "0": + if element.fill_color is not None and not element.get_style("fill-opacity", 1) == "0": classes.append(FillStitch) - if element.get_style("stroke") is not None: + if element.stroke_color is not None: classes.append(Stroke) if len(element.path) > 1: classes.append(SatinColumn) |
