From 485f239d6d61d158e5c799ba6dc55c63e84da3a1 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:25:46 +0100 Subject: [PATCH] Merge pull request #18942 from Roy-043/Draft-fix-selection-for-FacebinderTaskPanel Draft: fix selection for FacebinderTaskPanel --- src/Mod/Draft/DraftGui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/DraftGui.py b/src/Mod/Draft/DraftGui.py index c9b6c004a8..97f58b6e0e 100644 --- a/src/Mod/Draft/DraftGui.py +++ b/src/Mod/Draft/DraftGui.py @@ -1723,7 +1723,7 @@ class FacebinderTaskPanel: def addElement(self): if self.obj: - for sel in FreeCADGui.Selection.getSelectionEx(): + for sel in FreeCADGui.Selection.getSelectionEx("", 0): if sel.HasSubObjects: obj = sel.Object for elt in sel.SubElementNames: