kopia lustrzana https://github.com/inkstitch/inkstitch
fill to stroke: fix remove elements with fill and stroke (#2392)
rodzic
a046c256ae
commit
d46a9cc5b3
|
@ -104,7 +104,7 @@ class FillToStroke(InkstitchExtension):
|
|||
pass
|
||||
# remove empty groups
|
||||
for parent in set(parents):
|
||||
if not parent.getchildren():
|
||||
if parent is not None and not parent.getchildren():
|
||||
parent.getparent().remove(parent)
|
||||
|
||||
def _get_high_res_polygon(self, polygon):
|
||||
|
|
Ładowanie…
Reference in New Issue