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:
authorJacques Lucke <jacques@blender.org>2021-11-03 19:47:05 +0300
committerJacques Lucke <jacques@blender.org>2021-11-03 19:47:05 +0300
commitc5d08aa0a36608b318d80ba948b33d13d4d0f0d3 (patch)
treea2c704d2f2735f09ad69b70380069bd9cdde3955 /source/blender/nodes/intern/derived_node_tree.cc
parentec5d2e687232887acde5cda9352828c59438da35 (diff)
Fix: muted nodes not handled correctly
This was an error in rBb55bddde40db3eda3531d98caa99be9a8e88a8ee.
Diffstat (limited to 'source/blender/nodes/intern/derived_node_tree.cc')
-rw-r--r--source/blender/nodes/intern/derived_node_tree.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/derived_node_tree.cc b/source/blender/nodes/intern/derived_node_tree.cc
index fb12157f147..14d6c77299b 100644
--- a/source/blender/nodes/intern/derived_node_tree.cc
+++ b/source/blender/nodes/intern/derived_node_tree.cc
@@ -266,7 +266,7 @@ void DOutputSocket::foreach_target_socket(ForeachTargetSocketFn target_fn,
}
/* The internal link only forwards the first incoming link. */
if (linked_socket->is_multi_input_socket()) {
- if (linked_socket->directly_linked_links()[0] == link) {
+ if (linked_socket->directly_linked_links()[0] != link) {
continue;
}
}