removed unrequired line in remove redundant
This commit is contained in:
parent
65bfeb6ea8
commit
425713dcc0
@ -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 = []
|
||||||
|
Reference in New Issue
Block a user