Fixed some deprecation warning in longest continuous path extension
This commit is contained in:
parent
9871809e2d
commit
c0adf8d2ee
@ -173,7 +173,7 @@ class OptimizePaths(inkex.GenerateExtension):
|
|||||||
vertices = []
|
vertices = []
|
||||||
edges = []
|
edges = []
|
||||||
|
|
||||||
objects = self.svg.get_selected(inkex.PathElement)
|
objects = self.svg.selection.filter(inkex.PathElement).values()
|
||||||
|
|
||||||
for node in objects:
|
for node in objects:
|
||||||
if node.tag == inkex.addNS('path', 'svg'):
|
if node.tag == inkex.addNS('path', 'svg'):
|
||||||
|
Reference in New Issue
Block a user