Fix #107473: Determine link valid flag behavior for hide links #107824

Closed
Iliya Katushenock wants to merge 1 commits from mod_moder:tmp_fix_hided_link_in_fake_cycles into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 4 additions and 0 deletions

View File

@ -761,6 +761,10 @@ class NodeTreeMainUpdater {
}
LISTBASE_FOREACH (bNodeLink *, link, &ntree.links) {
if (!link->is_available()) {
link->flag &= ~NODE_LINK_VALID;
continue;
}
link->flag |= NODE_LINK_VALID;
const bNode &from_node = *link->fromnode;
const bNode &to_node = *link->tonode;