Draft: fix selection for FacebinderTaskPanel
See: https://forum.freecad.org/viewtopic.php?t=93682
This commit is contained in:
@@ -1719,7 +1719,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:
|
||||
|
||||
Reference in New Issue
Block a user