fixed error in function for rounder extension

This commit is contained in:
leyghisbb 2020-08-30 11:26:21 +02:00
parent 22f961c8ce
commit 97d63b969d

View File

@ -104,7 +104,7 @@ class svgRounder(inkex.Effect):
def opacity_round_it(self, node, typeOpacity):
if node.tag == inkex.addNS('g','svg'):
for e in node:
self.opacity_round_it(e)
self.opacity_round_it(e, typeOpacity)
else:
style = node.get('style')
if style:
@ -157,4 +157,4 @@ class svgRounder(inkex.Effect):
self.opacity_round_it(node, "fill-opacity")
if __name__ == '__main__':
svgRounder().run()
svgRounder().run()