Draft: fix ghost preview of Draft_Labels

Draft_Labels have a unique Placement implementation. A ghost preview therefore cannot be generated in the standard manner. This was missed in #18795 (my bad).

(cherry picked from commit 54c0c2f83c)
This commit is contained in:
Roy-043
2026-02-10 22:03:51 +01:00
committed by Max Wilfinger
parent ea6d02157f
commit 178cd713f8
+1 -1
View File
@@ -873,7 +873,7 @@ class ghostTracker(Tracker):
sep.addChild(obj.ViewObject.RootNode.copy())
# add Part container offset
if parent_place is not None:
if hasattr(obj, "Placement"):
if hasattr(obj, "Placement") and utils.get_type(obj) != "Label":
gpl = parent_place * obj.Placement
else:
gpl = parent_place