diff options
author | Jacques Lucke <jacques@blender.org> | 2022-08-31 15:41:57 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-08-31 15:41:57 +0300 |
commit | 4b9d7b71e0075e0b590c5e8d8f9bb67cb6a1e2de (patch) | |
tree | a47423563fe00f8c529ed0593f97cbedeac1b24a /source/blender | |
parent | 627e8ad6826ac355148a5b2d2b3bf130b96cc2fb (diff) |
Fix: incorrect detection of used sockets
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/node_tree_update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node_tree_update.cc b/source/blender/blenkernel/intern/node_tree_update.cc index 716b8ce31d3..a9097bcb94a 100644 --- a/source/blender/blenkernel/intern/node_tree_update.cc +++ b/source/blender/blenkernel/intern/node_tree_update.cc @@ -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; } |