diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-07-04 06:26:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-04 06:26:23 +0200 |
| commit | c18bc113834f661c2d844cef28d8f46406f9b626 (patch) | |
| tree | b4a593644464288b1724e56b6c91256df80a0515 /lib/elements/utils.py | |
| parent | 238ba841be679cc6532d5b6f13df2c1e4f2ce75f (diff) | |
render satins with only one subpath as running stitch (#2404)
Diffstat (limited to 'lib/elements/utils.py')
| -rw-r--r-- | lib/elements/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/utils.py b/lib/elements/utils.py index f7ee8dbc..d5122e3f 100644 --- a/lib/elements/utils.py +++ b/lib/elements/utils.py @@ -41,7 +41,7 @@ def node_to_elements(node, clone_to_element=False): # noqa: C901 if element.get_style("fill", "black") and not element.get_style('fill-opacity', 1) == "0": elements.append(FillStitch(node)) if element.get_style("stroke"): - if element.get_boolean_param("satin_column"): + if element.get_boolean_param("satin_column") and len(element.path) > 1: elements.append(SatinColumn(node)) elif not is_command(element.node): elements.append(Stroke(node)) |
