Removed the autoconnect call when adding new nodes, this hardly ever gives usable results and leads to annoyed artists.

This commit is contained in:
Lukas Toenne 2011-07-17 16:14:52 +00:00
parent 7e4ccf9349
commit b29b0acdce

@ -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;