Skip to content

Commit

Permalink
fix addJunction base feature(edge) detection. Fixes #419
Browse files Browse the repository at this point in the history
  • Loading branch information
shaise committed Dec 6, 2024
1 parent 756a212 commit a464a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SheetMetalJunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a464a35

Please sign in to comment.