diff --git a/SheetMetalJunction.py b/SheetMetalJunction.py index 0c5ea80..3d42a10 100644 --- a/SheetMetalJunction.py +++ b/SheetMetalJunction.py @@ -181,7 +181,7 @@ def IsActive(self): return False # selobj = Gui.Selection.getSelection()[0] for selEdge in sel.SubObjects: - if isinstance(selEdge, Part.Edge): + if not isinstance(selEdge, Part.Edge): return False return True