StorageRack: Use top and bottom_egde for height calculation with "outside" set

This commit is contained in:
Florian Festi 2019-09-01 15:36:36 +02:00
parent 5c0cc4d732
commit 605692f751
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class StorageRack(Boxes):
def render(self):
if self.outside:
self.depth = self.adjustSize(self.depth, e2=False)
self.sh = self.adjustSize(self.sh)
self.sh = self.adjustSize(self.sh, self.top_edge, self.bottom_edge)
self.x = self.adjustSize(self.x)
h = sum(self.sh) + self.thickness * (len(self.sh) - 1)