Removed the autoconnect call when adding new nodes, this hardly ever gives usable...
authorLukas Toenne <lukas.toenne@googlemail.com>
Sun, 17 Jul 2011 16:14:52 +0000 (16:14 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Sun, 17 Jul 2011 16:14:52 +0000 (16:14 +0000)
source/blender/editors/space_node/node_header.c

index a982f4b19940d1ac7891cf8698c4f3dc075a73f6..4f3991e8ff868299af250fff85fd80503e37e1b2 100644 (file)
@@ -94,8 +94,6 @@ static void do_node_add(bContext *C, void *UNUSED(arg), int event)
                if(node->flag & NODE_TEST) node->flag |= NODE_SELECT;
        }
        
-       snode_autoconnect(snode, 1, 0);
-       
        /* deselect after autoconnection */
        for(node= snode->edittree->nodes.first; node; node= node->next) {
                if(node->flag & NODE_TEST) node->flag &= ~NODE_SELECT;