Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-10-14 12:03:53 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-10-14 12:03:53 +0400
commitdfea1dd0d7c2d188a5b29ca9cb883d943aa75086 (patch)
tree57ef345256c64ba35680c393d6a0bc7e5776420f /source/blender/blenkernel/intern/node.c
parent52296b941ebd06e24393bc0c913044b7705c6be7 (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/node.c')
-rw-r--r--source/blender/blenkernel/intern/node.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c
index c0df306a3fa..6e2780b48f4 100644
--- a/source/blender/blenkernel/intern/node.c
+++ b/source/blender/blenkernel/intern/node.c
@@ -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;