diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-07 06:28:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-07 06:28:39 +0400 |
commit | 03af4cbf9173dd0440517dd0b9f8d464a4ec0350 (patch) | |
tree | ce682c3014a529aabf622c4b1b091a6e19ad292b /source/blender/nodes/intern/node_util.c | |
parent | 276ef3b3b5192aad5c3e5e02c69246818f89033b (diff) |
Code cleanup: style
Diffstat (limited to 'source/blender/nodes/intern/node_util.c')
-rw-r--r-- | source/blender/nodes/intern/node_util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/node_util.c b/source/blender/nodes/intern/node_util.c index d3bde0a3b56..dcc58d38d31 100644 --- a/source/blender/nodes/intern/node_util.c +++ b/source/blender/nodes/intern/node_util.c @@ -196,8 +196,10 @@ static bNodeSocket *select_internal_link_input(bNode *node, bNodeSocket *output) if (nodeSocketIsHidden(input) || /* ignore hidden sockets */ input->flag & SOCK_NO_INTERNAL_LINK || /* ignore if input is not allowed for internal connections */ priority < 0 || /* ignore incompatible types */ - priority < sel_priority) /* ignore if we already found a higher priority input */ + priority < sel_priority) /* ignore if we already found a higher priority input */ + { continue; + } /* determine if this input is preferred over the currently selected */ preferred = (priority > sel_priority) || /* prefer higher datatype priority */ |