Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
fstwn committed Jul 6, 2020
1 parent abfa215 commit 94031a2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/Cockatoo/KnitNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -2633,10 +2633,11 @@ def CreateDual(self, mode=-1):
# 1 warp edge and 2 weft edges >> increase or decrease
elif warplen == 1 and weftlen == 2:
if not node_data["leaf"]:
if warp_in:
node_data["decrease"] = True
elif warp_out:
if warp_out:
node_data["increase"] = True
elif warp_in:
node_data["decrease"] = True


return DualNetwork

Expand Down

0 comments on commit 94031a2

Please sign in to comment.