diff options
| author | George Steel <george.steel@gmail.com> | 2022-12-10 19:27:20 -0500 |
|---|---|---|
| committer | George Steel <george.steel@gmail.com> | 2022-12-10 19:29:01 -0500 |
| commit | 2cec72cbbd73b2dece5d15715e2ab8bddd417c69 (patch) | |
| tree | aff4569cb68f626e05489a86511fbd4be8325e17 /lib/stitches/auto_satin.py | |
| parent | 495a22ea55234e032ac526450fd7969d9aa799c8 (diff) | |
| parent | e52f889bb0cb208685b3f3ef8271f63ecd318af1 (diff) | |
Merge branch 'george-steel/expose-trim-after'
Diffstat (limited to 'lib/stitches/auto_satin.py')
| -rw-r--r-- | lib/stitches/auto_satin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/auto_satin.py b/lib/stitches/auto_satin.py index 93bffd57..6d792b4e 100644 --- a/lib/stitches/auto_satin.py +++ b/lib/stitches/auto_satin.py @@ -81,6 +81,8 @@ class SatinSegment(object): satin = satin.apply_transform() + _ensure_even_repeats(satin) + return satin to_element = to_satin @@ -507,7 +509,6 @@ def name_elements(new_elements, preserve_order): for element in new_elements: if isinstance(element, SatinColumn): element.node.set("id", generate_unique_id(element.node, "autosatin")) - _ensure_even_repeats(element) else: element.node.set("id", generate_unique_id(element.node, "autosatinrun")) @@ -515,7 +516,6 @@ def name_elements(new_elements, preserve_order): if isinstance(element, SatinColumn): # L10N Label for a satin column created by Auto-Route Satin Columns and Lettering extensions element.node.set(INKSCAPE_LABEL, _("AutoSatin %d") % index) - _ensure_even_repeats(element) else: # L10N Label for running stitch (underpathing) created by Auto-Route Satin Columns amd Lettering extensions element.node.set(INKSCAPE_LABEL, _("AutoSatin Running Stitch %d") % index) |
