summaryrefslogtreecommitdiff
path: root/lib/elements/fill_stitch.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elements/fill_stitch.py')
-rw-r--r--lib/elements/fill_stitch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py
index d7e92433..41ac1de1 100644
--- a/lib/elements/fill_stitch.py
+++ b/lib/elements/fill_stitch.py
@@ -894,7 +894,8 @@ class FillStitch(EmbroideryElement):
@property
def first_stitch(self):
# Serves as a reverence point for the end point of the previous element
- # This isn't really used for fill stitches as they always make their first stitch point dependent on the previous element itself
+ if self.get_command('starting_point'):
+ return shgeo.Point(*self.get_command('starting_point').target_point)
return None
def get_starting_point(self, previous_stitch_group):