Arch: Handle cloning of BuildingParts

This commit is contained in:
Yorik van Havre
2018-06-29 12:12:54 -03:00
parent ef2425732e
commit 2a116ff4f1
6 changed files with 74 additions and 31 deletions

View File

@@ -578,7 +578,7 @@ class _Structure(ArchComponent.Component):
normal = None
if not height:
for p in obj.InList:
if Draft.getType(p) == "Floor":
if Draft.getType(p) in ["Floor","BuildingPart"]:
if p.Height.Value:
height = p.Height.Value
base = None