small bugfix in apply_transformations
This commit is contained in:
parent
1328d620a8
commit
093755d984
@ -201,7 +201,7 @@ class ApplyTransformations(inkex.EffectExtension):
|
|||||||
inkex.addNS('text', 'svg'),
|
inkex.addNS('text', 'svg'),
|
||||||
inkex.addNS('image', 'svg')]:
|
inkex.addNS('image', 'svg')]:
|
||||||
element.attrib['transform'] = str(transf)
|
element.attrib['transform'] = str(transf)
|
||||||
inkex.utils.errormsg(f"Shape {node.TAG} ({node.get('id')}) not yet supported. Not all transforms will be applied. Try Object to path first")
|
inkex.utils.errormsg(f"Shape {element.TAG} ({element.get('id')}) not yet supported. Not all transforms will be applied. Try Object to path first")
|
||||||
else:
|
else:
|
||||||
# e.g. <g style="...">
|
# e.g. <g style="...">
|
||||||
self.scaleStrokeWidth(element, transf)
|
self.scaleStrokeWidth(element, transf)
|
||||||
|
Loading…
Reference in New Issue
Block a user