summaryrefslogtreecommitdiff
path: root/lib/extensions/base.py
diff options
context:
space:
mode:
authorKaalleen <reni@allenka.de>2022-01-30 15:48:51 +0100
committerKaalleen <reni@allenka.de>2022-05-04 19:06:44 +0200
commit3d1600ed039c9078bcb4a28328ab60eb96994dfd (patch)
tree57a6d51e108747daa354762ccab8b635e283e7a7 /lib/extensions/base.py
parent82216b184c669d6dea26672e5c0771146e62ca39 (diff)
* autofill to fillstitch
* remove too complex warning for fillstitch * some marker adjustments
Diffstat (limited to 'lib/extensions/base.py')
-rw-r--r--lib/extensions/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/extensions/base.py b/lib/extensions/base.py
index cf846324..949f947e 100644
--- a/lib/extensions/base.py
+++ b/lib/extensions/base.py
@@ -161,10 +161,10 @@ class InkstitchExtension(inkex.Effect):
if selected:
if node.tag == SVG_GROUP_TAG:
pass
- elif (node.tag in EMBROIDERABLE_TAGS or is_clone(node)) and not has_marker(node, 'pattern'):
+ elif (node.tag in EMBROIDERABLE_TAGS or is_clone(node)) and not has_marker(node):
nodes.append(node)
- # add images, text and patterns for the troubleshoot extension
- elif troubleshoot and (node.tag in NOT_EMBROIDERABLE_TAGS or has_marker(node, 'pattern')):
+ # add images, text and elements with a marker for the troubleshoot extension
+ elif troubleshoot and (node.tag in NOT_EMBROIDERABLE_TAGS or has_marker(node)):
nodes.append(node)
return nodes