Arch: ArchBuildingPart, fix obj.Height.Value in onChanged()

This commit is contained in:
vocx-fc
2019-09-13 12:38:13 -05:00
committed by Bernd Hahnebach
parent a9f505818b
commit 6fb25c2931

View File

@@ -376,7 +376,7 @@ class BuildingPart(ArchIFC.IfcProduct):
self.svgcache = None
self.shapecache = None
if (prop == "Height") and prop.Height.Value:
if (prop == "Height") and obj.Height.Value:
for child in obj.Group:
if Draft.getType(child) in ["Wall","Structure"]:
if not child.Height.Value: