Remove unused node socket flag that was added in the render pass commit

This commit is contained in:
2017-05-07 20:32:51 +02:00
parent e518ea9b5e
commit ce28025eaf
4 changed files with 3 additions and 16 deletions

View File

@@ -179,8 +179,7 @@ void NodeGraph::add_bNodeLink(const NodeRange &node_range, bNodeLink *b_nodelink
/// @note: ignore invalid links
if (!(b_nodelink->flag & NODE_LINK_VALID))
return;
const int unavail_mask = SOCK_UNAVAIL | SOCK_VIRTUAL;
if ((b_nodelink->fromsock->flag & unavail_mask) || (b_nodelink->tosock->flag & unavail_mask))
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)