removed unrequired line in remove redundant

This commit is contained in:
leyghisbb 2020-08-30 11:21:01 +02:00
parent 65bfeb6ea8
commit 425713dcc0

View File

@ -58,14 +58,11 @@ class RemoveRedundant(inkex.Effect):
inkex.Effect.__init__(self) inkex.Effect.__init__(self)
def effect(self): def effect(self):
pathTag = inkex.addNS('path','svg')
seenSegments = set() seenSegments = set()
coordsCache = FixedRadiusSearch() coordsCache = FixedRadiusSearch()
for id, node in self.svg.selected.items(): for id, node in self.svg.selected.items():
if node.tag == pathTag: if node.tag == inkex.addNS('path','svg'):
d = node.get('d') d = node.get('d')
path = paths.CubicSuperPath(d).to_path().to_arrays() path = paths.CubicSuperPath(d).to_path().to_arrays()
newPath = [] newPath = []