From 54c0c2f83c25fa0acdecd7bef5d640abbc36a893 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Tue, 10 Feb 2026 16:32:42 +0100 Subject: [PATCH] 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). --- src/Mod/Draft/draftguitools/gui_trackers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/draftguitools/gui_trackers.py b/src/Mod/Draft/draftguitools/gui_trackers.py index e160ea08a6..393c5039c7 100644 --- a/src/Mod/Draft/draftguitools/gui_trackers.py +++ b/src/Mod/Draft/draftguitools/gui_trackers.py @@ -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