kopia lustrzana https://github.com/inkstitch/inkstitch
rodzic
7949a7e302
commit
ca6fc84d4b
|
@ -240,7 +240,7 @@ class EmbroideryElement(object):
|
|||
@property
|
||||
@param('ties',
|
||||
_('Allow lock stitches'),
|
||||
tooltip=_('Tie thread at the beginning and/or end of this object. Manual stitch will not add lock stitches.'),
|
||||
tooltip=_('Tie thread at the beginning and/or end of this object. Manual stitch will only add lock stitches if force lock stitched is checked.'),
|
||||
type='dropdown',
|
||||
# Ties: 0 = Both | 1 = Before | 2 = After | 3 = Neither
|
||||
# L10N options to allow lock stitch before and after objects
|
||||
|
|
|
@ -87,7 +87,7 @@ class Stroke(EmbroideryElement):
|
|||
@property
|
||||
@param('manual_stitch',
|
||||
_('Manual stitch placement'),
|
||||
tooltip=_("Stitch every node in the path. All other options are ignored."),
|
||||
tooltip=_("Stitch every node in the path. All options other than stop and trim are ignored. Lock stitches will be added only if force lock stitches is checked."),
|
||||
type='boolean',
|
||||
default=False,
|
||||
select_items=[('stroke_method', 0)],
|
||||
|
@ -472,7 +472,15 @@ class Stroke(EmbroideryElement):
|
|||
path = [Point(x, y) for x, y in path]
|
||||
# manual stitch
|
||||
if self.manual_stitch_mode:
|
||||
patch = StitchGroup(color=self.color, stitches=path, lock_stitches=(None, None))
|
||||
if self.force_lock_stitches:
|
||||
lock_stitches = self.lock_stitches
|
||||
else:
|
||||
# manual stitch disables lock stitches unless they force them
|
||||
lock_stitches = (None, None)
|
||||
patch = StitchGroup(color=self.color,
|
||||
stitches=path,
|
||||
lock_stitches=lock_stitches,
|
||||
force_lock_stitches=self.force_lock_stitches)
|
||||
# running stitch
|
||||
elif self.is_running_stitch():
|
||||
patch = self.running_stitch(path, self.running_stitch_length, self.running_stitch_tolerance)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 322bfa5f7edbbcf741ff032b82a637d04b0b97a0
|
||||
Subproject commit 9347ea882a40764cfc712d1bb9f90324945767c0
|
Ładowanie…
Reference in New Issue