Arch: Fixed bug in BuildingPart obj

Fixes #12921.
This commit is contained in:
hoshengwei
2024-03-13 21:15:57 +08:00
committed by Yorik van Havre
parent 5264d6cc1f
commit 2f29140512

View File

@@ -497,7 +497,7 @@ class BuildingPart(ArchIFC.IfcProduct):
FreeCAD.Console.PrintLog("Auto-updating Height of "+child.Name+"\n")
self.touchChildren(child)
child.Proxy.execute(child)
elif Draft.getType(child) in ["Group","BuildingPart"]:
elif Draft.getType(child) in ["App::DocumentObjectGroup","Group","BuildingPart"]:
self.touchChildren(child)