fixed error in function for rounder extension
This commit is contained in:
parent
22f961c8ce
commit
97d63b969d
@ -104,7 +104,7 @@ class svgRounder(inkex.Effect):
|
|||||||
def opacity_round_it(self, node, typeOpacity):
|
def opacity_round_it(self, node, typeOpacity):
|
||||||
if node.tag == inkex.addNS('g','svg'):
|
if node.tag == inkex.addNS('g','svg'):
|
||||||
for e in node:
|
for e in node:
|
||||||
self.opacity_round_it(e)
|
self.opacity_round_it(e, typeOpacity)
|
||||||
else:
|
else:
|
||||||
style = node.get('style')
|
style = node.get('style')
|
||||||
if style:
|
if style:
|
||||||
@ -157,4 +157,4 @@ class svgRounder(inkex.Effect):
|
|||||||
self.opacity_round_it(node, "fill-opacity")
|
self.opacity_round_it(node, "fill-opacity")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
svgRounder().run()
|
svgRounder().run()
|
||||||
|
Reference in New Issue
Block a user