From e28083b7cbc308f3d88b8e897c13d309ad9f8737 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 28 May 2025 03:33:19 +0200 Subject: [PATCH] bugfix move path node --- .../move_path_node/move_path_node.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/extensions/fablabchemnitz/move_path_node/move_path_node.py b/extensions/fablabchemnitz/move_path_node/move_path_node.py index 5c5d0a0..8241993 100644 --- a/extensions/fablabchemnitz/move_path_node/move_path_node.py +++ b/extensions/fablabchemnitz/move_path_node/move_path_node.py @@ -154,14 +154,14 @@ class MovePathNode(inkex.EffectExtension): inkex.utils.debug("More moves entered than possible to apply. Path result would be a point, not a line") #return - composedPath = inkex.Path() - for newSubpath in newSubpaths: - composedPath.extend(newSubpath) + composedPath = inkex.Path() + for newSubpath in newSubpaths: + composedPath.extend(newSubpath) + + if self.options.debug is True: + inkex.utils.debug("Composed path = " + str(composedPath)) - if self.options.debug is True: - inkex.utils.debug("Composed path = " + str(composedPath)) - - element.path = composedPath + element.path = composedPath def visualizeFirstTwo(self, element): """Add a dot label for this path element"""