Fix: muted nodes not handled correctly

This was an error in rBb55bddde40db3eda3531d98caa99be9a8e88a8ee.
This commit is contained in:
Jacques Lucke 2021-11-03 17:47:05 +01:00
parent ec5d2e6872
commit c5d08aa0a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}