Copy subvolume before changing its Placement
Placement property of a cached object was modified each time component is recalculated. Fixes #22162.
This commit is contained in:
committed by
Yorik van Havre
parent
985e42b61a
commit
4d7f03bf63
@@ -782,7 +782,7 @@ class Component(ArchIFC.IfcProduct):
|
||||
subvolume = o.getLinkedObject().Proxy.getSubVolume(o,host=obj) # pass host obj (mostly Wall)
|
||||
elif (Draft.getType(o) == "Roof") or (Draft.isClone(o,"Roof")):
|
||||
# roofs define their own special subtraction volume
|
||||
subvolume = o.Proxy.getSubVolume(o)
|
||||
subvolume = o.Proxy.getSubVolume(o).copy()
|
||||
elif hasattr(o,"Subvolume") and hasattr(o.Subvolume,"Shape"):
|
||||
# Any other object with a Subvolume property
|
||||
## TODO - Part.Shape() instead?
|
||||
|
||||
Reference in New Issue
Block a user