Fix: incorrect detection of used sockets
This commit is contained in:
parent
627e8ad682
commit
4b9d7b71e0
|
@ -1037,7 +1037,7 @@ class NodeTreeMainUpdater {
|
|||
for (bNodeSocket *socket : tree.all_sockets()) {
|
||||
socket->flag &= ~SOCK_IN_USE;
|
||||
for (const bNodeLink *link : socket->directly_linked_links()) {
|
||||
if ((link->flag & NODE_LINK_MUTED) != 0) {
|
||||
if (!link->is_muted()) {
|
||||
socket->flag |= SOCK_IN_USE;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue