summaryrefslogtreecommitdiff
path: root/lib/elements/text.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-12-26 16:19:35 +0100
committerGitHub <noreply@github.com>2024-12-26 16:19:35 +0100
commitef7d056173cc6d7782d6120c031dae9276725a3d (patch)
tree75d2ef67976336a93424b504e42bbf1a394b9a49 /lib/elements/text.py
parente20161a4ec9a69cb0f1bdfdd16bcd27a8601fde7 (diff)
End points (#3370)
* end at nearest point to next element (if requested and possible)
Diffstat (limited to 'lib/elements/text.py')
-rw-r--r--lib/elements/text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elements/text.py b/lib/elements/text.py
index 4203c8f9..37a38bc8 100644
--- a/lib/elements/text.py
+++ b/lib/elements/text.py
@@ -4,9 +4,9 @@
# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
from ..i18n import _
+from ..svg.path import get_node_transform
from .element import EmbroideryElement
from .validation import ObjectTypeWarning
-from ..svg.path import get_node_transform
class TextTypeWarning(ObjectTypeWarning):
@@ -29,5 +29,5 @@ class TextObject(EmbroideryElement):
def validation_warnings(self):
yield TextTypeWarning(self.pointer())
- def to_stitch_groups(self, last_stitch_group):
+ def to_stitch_groups(self, last_stitch_group, next_element=None):
return []