Fixed some deprecation warning in longest continuous path extension

This commit is contained in:
Mario Voigt 2021-03-09 13:17:06 +01:00
parent 9871809e2d
commit c0adf8d2ee

View File

@ -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'):