Arch: Adjust height of objects inside groups

This commit is contained in:
Yorik van Havre
2019-10-07 15:33:28 -03:00
parent c8df73d756
commit 2f07f13e9d
4 changed files with 30 additions and 13 deletions

View File

@@ -816,10 +816,7 @@ class _Wall(ArchComponent.Component):
height = obj.Height.Value
if not height:
for p in obj.InList:
if Draft.getType(p) in ["Floor","BuildingPart"]:
if p.Height.Value:
height = p.Height.Value
height = self.getParentHeight(obj)
if not height:
return None
if obj.Normal == Vector(0,0,0):