Update for applytransform extension

This commit is contained in:
Mario Voigt 2021-01-12 10:28:05 +01:00
parent 5b785c06a7
commit 0950bf5767

View File

@ -13,9 +13,9 @@ from inkex.styles import Style
NULL_TRANSFORM = Transform([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]])
class ApplyTransform(inkex.Effect):
class ApplyTransform(inkex.EffectExtension):
def __init__(self):
inkex.Effect.__init__(self)
super(ApplyTransform, self).__init__()
def effect(self):
if self.svg.selected: