polygonWall: Fix numbers of callbacks
They were off by a factor of two as they should be numberd by sides while we also counted corners
This commit is contained in:
parent
201e0ae5d8
commit
940cec1811
|
@ -2700,7 +2700,7 @@ class Boxes:
|
|||
|
||||
length_correction = 0.
|
||||
for i in range(0, len(borders), 2):
|
||||
self.cc(callback, i)
|
||||
self.cc(callback, i / 2)
|
||||
self.edge(length_correction)
|
||||
l = borders[i] - length_correction
|
||||
next_angle = borders[i+1]
|
||||
|
|
Loading…
Reference in New Issue