From ef7d056173cc6d7782d6120c031dae9276725a3d Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:19:35 +0100 Subject: End points (#3370) * end at nearest point to next element (if requested and possible) --- lib/elements/text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/elements/text.py') 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 [] -- cgit v1.2.3