summaryrefslogtreecommitdiff
path: root/lib/elements/empty_d_object.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2022-05-20 17:29:50 +0200
committerGitHub <noreply@github.com>2022-05-20 17:29:50 +0200
commit1316e8132e58361f42cb4315c586e0e2cccfc64c (patch)
treeaf7dedf03e0700fedd24fb73b2137de332688ba2 /lib/elements/empty_d_object.py
parentdec43b9c5f19b084e32b66c367480a43b1f5fc9d (diff)
prevent adding commands to empty d objects (#1658)
Diffstat (limited to 'lib/elements/empty_d_object.py')
-rw-r--r--lib/elements/empty_d_object.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/elements/empty_d_object.py b/lib/elements/empty_d_object.py
index 3c24f333..82583683 100644
--- a/lib/elements/empty_d_object.py
+++ b/lib/elements/empty_d_object.py
@@ -23,5 +23,8 @@ class EmptyDObject(EmbroideryElement):
label = self.node.get(INKSCAPE_LABEL) or self.node.get("id")
yield EmptyD((0, 0), label)
+ def shape(self):
+ return
+
def to_stitch_groups(self, last_patch):
return []