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:
|
if self.options.apply_transformations is True and applyTransformAvailable is True:
|
||||||
applytransform.ApplyTransform().recursiveFuseTransform(self.document.getroot())
|
applytransform.ApplyTransform().recursiveFuseTransform(self.document.getroot())
|
||||||
|
|
||||||
if self.options.breakapart:
|
if self.options.breakapart is True:
|
||||||
if len(self.svg.selected) == 0:
|
if len(self.svg.selected) == 0:
|
||||||
self.breakContours(self.document.getroot())
|
self.breakContours(self.document.getroot())
|
||||||
self.scanContours(self.document.getroot())
|
self.scanContours(self.document.getroot())
|
||||||
else:
|
else:
|
||||||
newContourSet = []
|
newContourSet = []
|
||||||
for element in self.svg.selected.items():
|
for element in self.svg.selected.values():
|
||||||
self.breakContours(element)
|
self.breakContours(element)
|
||||||
for newContours in self.replacedNodes:
|
for newContours in self.replacedNodes:
|
||||||
self.scanContours(newContours)
|
self.scanContours(newContours)
|
||||||
|
Reference in New Issue
Block a user