remove deprecation

This commit is contained in:
Mario Voigt 2021-10-19 13:09:01 +02:00
parent fca82b1f34
commit 4bf4d810fe

View File

@ -136,8 +136,7 @@ class Generator(object):
link = self.canvas.add(inkex.PathElement()) link = self.canvas.add(inkex.PathElement())
link.update(**{"style": style, "inkscape:label": "lattice", "d": path_command}) link.update(**{"style": style, "inkscape:label": "lattice", "d": path_command})
link.description("%s hinge %s" % (self.name, self.parameter_text())) link.insert(0, inkex.Desc("%s hinge %s" % (self.name, self.parameter_text())))
class StraightLatticeGenerator(Generator): class StraightLatticeGenerator(Generator):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):