summaryrefslogtreecommitdiff
path: root/lib/elements
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elements')
-rw-r--r--lib/elements/empty_d_object.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/elements/empty_d_object.py b/lib/elements/empty_d_object.py
index a7c91eda..0c84429a 100644
--- a/lib/elements/empty_d_object.py
+++ b/lib/elements/empty_d_object.py
@@ -31,5 +31,11 @@ class EmptyDObject(EmbroideryElement):
def first_stitch(self):
return None
+ @property
+ def color(self):
+ # We are not able to sitch this element, but some method calling the element may require a color definition.
+ # So let's simply define a black color
+ return 'black'
+
def to_stitch_groups(self, last_stitch_group, next_element=None):
return []