diff options
Diffstat (limited to 'lib/elements/empty_d_object.py')
| -rw-r--r-- | lib/elements/empty_d_object.py | 6 |
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 [] |
