Skip to content

Commit

Permalink
effort towards #35
Browse files Browse the repository at this point in the history
  • Loading branch information
fstwn committed May 19, 2020
1 parent 8a4d86a commit d78aef8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/Cockatoo/KnitNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,10 @@ def _create_second_pass_warp_connection(self, source_nodes, source_index, window
v_print("Connecting to node {}.".format(window[0][0]))

# connect 'warp' edge
self.CreateWarpEdge(source_nodes[source_index], window[0])
if reversed:
self.CreateWarpEdge(window[0], source_nodes[source_index])
else:
self.CreateWarpEdge(source_nodes[source_index], window[0])
else:
# retrive the point of the current source node
thisPt = source_nodes[source_index][1]["geo"]
Expand Down

0 comments on commit d78aef8

Please sign in to comment.