fix error in contour scanner
This commit is contained in:
parent
2ea8106b4b
commit
5232f7159b
@ -290,13 +290,13 @@ class ContourScanner(inkex.EffectExtension):
|
||||
if self.options.apply_transformations is True and applyTransformAvailable is True:
|
||||
applytransform.ApplyTransform().recursiveFuseTransform(self.document.getroot())
|
||||
|
||||
if self.options.breakapart:
|
||||
if self.options.breakapart is True:
|
||||
if len(self.svg.selected) == 0:
|
||||
self.breakContours(self.document.getroot())
|
||||
self.scanContours(self.document.getroot())
|
||||
else:
|
||||
newContourSet = []
|
||||
for element in self.svg.selected.items():
|
||||
for element in self.svg.selected.values():
|
||||
self.breakContours(element)
|
||||
for newContours in self.replacedNodes:
|
||||
self.scanContours(newContours)
|
||||
|
Reference in New Issue
Block a user