forked from bartvdbraak/blender
Internal need_exec tagging for group nodes, fixes #27034. Non-compositor node trees (texture and material) only use the need_exec flag to exclude cyclic dependencies, ugly double use of that flag. Oh well, hopefully can replace this altogether one day ;)
This commit is contained in:
parent
290a641c32
commit
a6c2d8680b
@ -2235,6 +2235,10 @@ static void group_tag_used_outputs(bNode *gnode, bNodeStack *stack, bNodeStack *
|
||||
if (ns)
|
||||
ns->sockettype = sock->type;
|
||||
}
|
||||
|
||||
/* non-composite trees do all nodes by default */
|
||||
if (ntree->type!=NTREE_COMPOSIT)
|
||||
node->need_exec = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2320,7 +2324,7 @@ void ntreeBeginExecTree(bNodeTree *ntree)
|
||||
for(node= ntree->nodes.first; node; node= node->next) {
|
||||
bNodeSocket *sock;
|
||||
|
||||
/* composite has own need_exec tag handling */
|
||||
/* non-composite trees do all nodes by default */
|
||||
if(ntree->type!=NTREE_COMPOSIT)
|
||||
node->need_exec= 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user