remove deprecation
This commit is contained in:
parent
fca82b1f34
commit
4bf4d810fe
@ -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):
|
||||||
|
Reference in New Issue
Block a user