Ignore "unavailable" links in the compositor, where one or both sockets
are unavailable (hidden).
This commit is contained in:
parent
197e889104
commit
dd5d31b515
|
@ -179,6 +179,8 @@ void NodeGraph::add_bNodeLink(const NodeRange &node_range, bNodeLink *b_nodelink
|
|||
/// @note: ignore invalid links
|
||||
if (!(b_nodelink->flag & NODE_LINK_VALID))
|
||||
return;
|
||||
if ((b_nodelink->fromsock->flag & SOCK_UNAVAIL) || (b_nodelink->tosock->flag & SOCK_UNAVAIL))
|
||||
return;
|
||||
|
||||
/* Note: a DNA input socket can have multiple NodeInput in the compositor tree! (proxies)
|
||||
* The output then gets linked to each one of them.
|
||||
|
|
Loading…
Reference in New Issue