From f48fbd3f68ea7751583f258a6e8e1bf1fe945fc7 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 13 May 2011 12:10:03 +0000 Subject: [PATCH] Cycles: fix node link remove from menu not working. --- source/blender/editors/interface/interface_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/interface/interface_node.c b/source/blender/editors/interface/interface_node.c index b99ff03fc99..137320fea26 100644 --- a/source/blender/editors/interface/interface_node.c +++ b/source/blender/editors/interface/interface_node.c @@ -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 */