We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b7067 commit 8973c9dCopy full SHA for 8973c9d
NodeGraphQt/base/graph.py
@@ -545,7 +545,7 @@ def set_pipe_style(self, style=PIPE_LAYOUT_CURVED):
545
pipe_max = max([PIPE_LAYOUT_CURVED,
546
PIPE_LAYOUT_STRAIGHT,
547
PIPE_LAYOUT_ANGLE])
548
- style = style if 0 >= style >= pipe_max else PIPE_LAYOUT_CURVED
+ style = style if 0 <= style <= pipe_max else PIPE_LAYOUT_CURVED
549
self._viewer.set_pipe_layout(style)
550
551
def fit_to_selection(self):
0 commit comments