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"""