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: