Arch: fix Placement multiplication for subvolumes

Fixes #11185.

Same problem as in #6617.
This commit is contained in:
Roy-043
2023-10-29 10:00:04 +01:00
committed by Yorik van Havre
parent a2e85a4ae1
commit 951059d192

View File

@@ -987,9 +987,9 @@ class _Window(ArchComponent.Component):
if not obj.Subvolume.Shape.isNull():
sh = obj.Subvolume.Shape.copy()
pl = FreeCAD.Placement(sh.Placement)
pl = pl.multiply(obj.Placement)
pl = obj.Placement.multiply(pl)
if plac:
pl = pl.multiply(plac)
pl = plac.multiply(pl)
sh.Placement = pl
return sh