Draft: fix ghost preview of Arch_SectionPlane and Draft_WorkingPlaneProxy (#27605)

(cherry picked from commit 37600b85a0)
This commit is contained in:
Roy-043
2026-02-16 05:43:51 +01:00
committed by Max Wilfinger
parent f89379545b
commit 33ea0f1067
+5 -1
View File
@@ -873,7 +873,11 @@ class ghostTracker(Tracker):
sep.addChild(obj.ViewObject.RootNode.copy())
# add Part container offset
if parent_place is not None:
if hasattr(obj, "Placement") and utils.get_type(obj) != "Label":
if hasattr(obj, "Placement") and utils.get_type(obj) not in (
"Label",
"SectionPlane",
"WorkingPlaneProxy",
):
gpl = parent_place * obj.Placement
else:
gpl = parent_place