polygonWalls: don't error out on empty borders list
This commit is contained in:
parent
1ba33c8192
commit
8b5fb877e7
|
@ -2720,6 +2720,9 @@ class Boxes:
|
|||
|
||||
@restore
|
||||
def polygonWalls(self, borders, h, bottom="F", top="F", symmetrical=True):
|
||||
if not borders:
|
||||
return
|
||||
|
||||
bottom = self.edges.get(bottom, bottom)
|
||||
top = self.edges.get(top, top)
|
||||
t = self.thickness # XXX edge.margin()
|
||||
|
|
Loading…
Reference in New Issue