Fix callback of rectangularWall. Do edge for width for previous edge first
This commit is contained in:
parent
4954055de8
commit
a58186f0f0
2
boxes.py
2
boxes.py
|
@ -896,8 +896,8 @@ class Boxes:
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
self.moveTo(edges[-1].margin(), edges[0].margin())
|
self.moveTo(edges[-1].margin(), edges[0].margin())
|
||||||
for i, l in enumerate((x, y, x, y)):
|
for i, l in enumerate((x, y, x, y)):
|
||||||
self.cc(callback, i)
|
|
||||||
self.edge(edges[i-1].width())
|
self.edge(edges[i-1].width())
|
||||||
|
self.cc(callback, i)
|
||||||
edges[i](l,
|
edges[i](l,
|
||||||
bedBolts=self.getEntry(bedBolts, i),
|
bedBolts=self.getEntry(bedBolts, i),
|
||||||
bedBoltSettings=self.getEntry(bedBoltSettings, i))
|
bedBoltSettings=self.getEntry(bedBoltSettings, i))
|
||||||
|
|
Loading…
Reference in New Issue