summaryrefslogtreecommitdiff
path: root/lib/extensions/params.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-06-21 15:41:06 -0400
committerLex Neva <github.com@lexneva.name>2018-06-21 15:41:06 -0400
commite29096ee138bd674e96a369a853d75eb7c919823 (patch)
tree963188c1d0ec3fa010fe353e2d97be64b6856066 /lib/extensions/params.py
parentc8fe52f136c77906741fdab7093942eeb363a209 (diff)
add commands framework
Diffstat (limited to 'lib/extensions/params.py')
-rw-r--r--lib/extensions/params.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py
index 9d8de41b..58fedd6b 100644
--- a/lib/extensions/params.py
+++ b/lib/extensions/params.py
@@ -19,6 +19,7 @@ from ..stitch_plan import patches_to_stitch_plan
from ..elements import EmbroideryElement, Fill, AutoFill, Stroke, SatinColumn
from ..utils import save_stderr, restore_stderr
from ..simulator import EmbroiderySimulator
+from ..commands import is_command
def presets_path():
@@ -655,7 +656,7 @@ class Params(InkstitchExtension):
classes.append(AutoFill)
classes.append(Fill)
- if element.get_style("stroke"):
+ if element.get_style("stroke") and not is_command(node):
classes.append(Stroke)
if element.get_style("stroke-dasharray") is None: