Stabilized Chain Paths

This commit is contained in:
Mario Voigt 2020-08-09 00:06:19 +02:00
parent 28469268f8
commit 69ba527db0

View File

@ -262,9 +262,10 @@ class ChainPaths(inkex.Effect):
if not len(new): if not len(new):
# node.clear() # node.clear()
node.getparent().remove(node) if node.getparent() is not None:
obsoleted += 1 node.getparent().remove(node)
if debug: inkex.utils.debug("Path node obsoleted: " +str(id)) obsoleted += 1
if debug: inkex.utils.debug("Path node obsoleted: " +str(id))
else: else:
remaining += 1 remaining += 1
# BUG: All previously closed loops, are open, after we convert them back with cubicsuperpath.formatPath() # BUG: All previously closed loops, are open, after we convert them back with cubicsuperpath.formatPath()