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:
parent
52296b941e
commit
dfea1dd0d7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue