Fix offset for callbacks of rectangularWall
This commit is contained in:
parent
a2870f0f29
commit
b42d31ed71
2
boxes.py
2
boxes.py
|
@ -956,7 +956,7 @@ class Boxes:
|
||||||
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.edge(edges[i-1].width())
|
self.edge(edges[i-1].width())
|
||||||
self.cc(callback, i)
|
self.cc(callback, i, y=edges[i].width()+self.burn)
|
||||||
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