Fix #23708: F-key make links between nodes didn't add links when a node output
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 25 Sep 2010 19:35:59 +0000 (19:35 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 25 Sep 2010 19:35:59 +0000 (19:35 +0000)
already had a link, not sure why this wasn't done, because the option to do it
was in the code.

source/blender/editors/space_node/node_edit.c

index 5aa512e..b6dc0b4 100644 (file)
@@ -1735,7 +1735,7 @@ static int node_make_link_exec(bContext *C, wmOperator *op)
 
        ED_preview_kill_jobs(C);
 
-       snode_autoconnect(snode, 0, replace);
+       snode_autoconnect(snode, 1, replace);
 
        node_tree_verify_groups(snode->nodetree);
        snode_notify(C, snode);