summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2022-05-20 19:06:40 +0200
committerGitHub <noreply@github.com>2022-05-20 19:06:40 +0200
commit0f3daecc63db42c2c581fc78c6c7d04554329b92 (patch)
treedf5513bcdf49fdcf4cb990ee09ce9a87cb646fda /lib
parent8ab4abf190778867a8eccde08733c45f3760b2d0 (diff)
empty_d shape property (#1666)
Diffstat (limited to 'lib')
-rw-r--r--lib/elements/empty_d_object.py1
-rw-r--r--lib/extensions/object_commands.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/elements/empty_d_object.py b/lib/elements/empty_d_object.py
index 82583683..8f3b08de 100644
--- a/lib/elements/empty_d_object.py
+++ b/lib/elements/empty_d_object.py
@@ -23,6 +23,7 @@ class EmptyDObject(EmbroideryElement):
label = self.node.get(INKSCAPE_LABEL) or self.node.get("id")
yield EmptyD((0, 0), label)
+ @property
def shape(self):
return
diff --git a/lib/extensions/object_commands.py b/lib/extensions/object_commands.py
index 42fd85dc..4d692cae 100644
--- a/lib/extensions/object_commands.py
+++ b/lib/extensions/object_commands.py
@@ -34,6 +34,6 @@ class ObjectCommands(CommandsExtension):
seen_nodes = set()
for element in self.elements:
- if element.node not in seen_nodes and element.shape():
+ if element.node not in seen_nodes and element.shape:
add_commands(element, commands)
seen_nodes.add(element.node)