Cycles: fix node link remove from menu not working.

This commit is contained in:
Brecht Van Lommel 2011-05-13 12:10:03 +00:00
parent 397f3893dd
commit f48fbd3f68

@ -115,7 +115,7 @@ static void ui_node_remove_linked(bNodeTree *ntree, bNode *rem_node)
bNode *node, *next;
bNodeSocket *sock;
if(!node)
if(!rem_node)
return;
/* tag linked nodes to be removed */