Skip to content

Commit

Permalink
roundedPlate: Fix callback positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
florianfesti committed Feb 28, 2020
1 parent 223ac26 commit 6476a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boxes/__init__.py
Expand Up @@ -1547,13 +1547,13 @@ def roundedPlate(self, x, y, r, edge="f", callback=None,
for nr, l in enumerate((lx, ly, lx, ly)):
if self._splitWall(wallpieces, nr):
for i in range(2):
self.cc(callback, wallcount)
self.cc(callback, wallcount, y=edge.startwidth()+self.burn)
edge(l / 2.0 ,
bedBolts=self.getEntry(bedBolts, wallcount),
bedBoltSettings=self.getEntry(bedBoltSettings, wallcount))
wallcount += 1
else:
self.cc(callback, wallcount)
self.cc(callback, wallcount, y=edge.startwidth()+self.burn)
edge(l,
bedBolts=self.getEntry(bedBolts, wallcount),
bedBoltSettings=self.getEntry(bedBoltSettings, wallcount))
Expand Down

0 comments on commit 6476a51

Please sign in to comment.