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):
# node.clear()
node.getparent().remove(node)
obsoleted += 1
if debug: inkex.utils.debug("Path node obsoleted: " +str(id))
if node.getparent() is not None:
node.getparent().remove(node)
obsoleted += 1
if debug: inkex.utils.debug("Path node obsoleted: " +str(id))
else:
remaining += 1
# BUG: All previously closed loops, are open, after we convert them back with cubicsuperpath.formatPath()