Fix #37057, Detach (Alt + D) doesn't work in nodes editor / compositor.

The operator exits early when there are no internal links. This prevents it from removing links which have no internal connection.
This commit is contained in:
Lukas Toenne 2013-10-14 08:03:53 +00:00
parent 52296b941e
commit dfea1dd0d7
1 changed files with 0 additions and 3 deletions

View File

@ -959,9 +959,6 @@ void nodeInternalRelink(bNodeTree *ntree, bNode *node)
{
bNodeLink *link, *link_next;
if (node->internal_links.first == NULL)
return;
/* store link pointers in output sockets, for efficient lookup */
for (link = node->internal_links.first; link; link = link->next)
link->tosock->link = link;