diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2021-03-28 18:10:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-28 18:10:09 -0400 |
| commit | 399a2a8cc8c29ece566fdc6b0ddb4ec1a5d6a9b9 (patch) | |
| tree | 9c174da83525446ab62c519fd0aac2d80e604a69 /lib/extensions/base.py | |
| parent | 5f8109b3c3ba2b01ee22840e7c353593708d25aa (diff) | |
| parent | f1265801b4647216f4bb572c474ebe2365fff26c (diff) | |
Merge pull request #1082 from inkstitch/lexelby/params-fixes
params fixes
Diffstat (limited to 'lib/extensions/base.py')
| -rw-r--r-- | lib/extensions/base.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/extensions/base.py b/lib/extensions/base.py index 1a38973f..ef5cdd6a 100644 --- a/lib/extensions/base.py +++ b/lib/extensions/base.py @@ -150,7 +150,7 @@ class InkstitchExtension(inkex.Effect): # command connectors with a fill color set, will glitch into the elements list if is_command(node) or node.get(CONNECTOR_TYPE): - return[] + return [] if self.svg.selected: if node.get("id") in self.svg.selected: @@ -163,7 +163,9 @@ class InkstitchExtension(inkex.Effect): nodes.extend(self.descendants(child, selected, troubleshoot)) if selected: - if getattr(node, "get_path", None): + if node.tag == SVG_GROUP_TAG: + pass + elif getattr(node, "get_path", None): nodes.append(node) elif troubleshoot and (node.tag in NOT_EMBROIDERABLE_TAGS or node.tag in EMBROIDERABLE_TAGS or is_clone(node)): nodes.append(node) |
