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.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/elements/fill_stitch.py b/lib/elements/fill_stitch.py
index 1897c8bf..8eb12af2 100644
--- a/lib/elements/fill_stitch.py
+++ b/lib/elements/fill_stitch.py
@@ -673,7 +673,10 @@ class FillStitch(EmbroideryElement):
self.flip,
self.staggers,
self.skip_last)
- return [StitchGroup(stitches=stitch_list, color=self.color) for stitch_list in stitch_lists]
+ return [StitchGroup(stitches=stitch_list,
+ color=self.color,
+ force_lock_stitches=self.force_lock_stitches,
+ lock_stitches=self.lock_stitches) for stitch_list in stitch_lists]
def do_underlay(self, shape, starting_point):
stitch_groups = []
@@ -681,6 +684,7 @@ class FillStitch(EmbroideryElement):
underlay = StitchGroup(
color=self.color,
tags=("auto_fill", "auto_fill_underlay"),
+ lock_stitches=self.lock_stitches,
stitches=auto_fill(
shape,
self.fill_underlay_angle[i],
@@ -702,6 +706,8 @@ class FillStitch(EmbroideryElement):
stitch_group = StitchGroup(
color=self.color,
tags=("auto_fill", "auto_fill_top"),
+ force_lock_stitches=self.force_lock_stitches,
+ lock_stitches=self.lock_stitches,
stitches=auto_fill(
shape,
self.angle,
@@ -755,7 +761,9 @@ class FillStitch(EmbroideryElement):
stitch_group = StitchGroup(
color=self.color,
tags=("auto_fill", "auto_fill_top"),
- stitches=stitches)
+ stitches=stitches,
+ force_lock_stitches=self.force_lock_stitches,
+ lock_stitches=self.lock_stitches,)
stitch_groups.append(stitch_group)
return stitch_groups
@@ -770,6 +778,8 @@ class FillStitch(EmbroideryElement):
stitch_group = StitchGroup(
color=self.color,
tags=("guided_fill", "auto_fill_top"),
+ force_lock_stitches=self.force_lock_stitches,
+ lock_stitches=self.lock_stitches,
stitches=guided_fill(
shape,
guide_line.geoms[0],