Fix T41885, muting broken for Blender Internal nodes in rendering.
Nodes don't have muting callbacks any more, so now have to check the flag to prevent overwriting values on the stack that they share with inputs.
This commit is contained in:
parent
25ec0d97f9
commit
345b16601c
Notes:
blender-bot
2023-02-14 10:04:44 +01:00
Referenced by issue #41885, M - material node bug
|
@ -305,7 +305,7 @@ bool ntreeExecThreadNodes(bNodeTreeExec *exec, bNodeThreadStack *nts, void *call
|
|||
*/
|
||||
// if (node->typeinfo->compatibility == NODE_NEW_SHADING)
|
||||
// return false;
|
||||
if (node->typeinfo->execfunc)
|
||||
if (node->typeinfo->execfunc && !(node->flag & NODE_MUTED))
|
||||
node->typeinfo->execfunc(callerdata, thread, node, &nodeexec->data, nsin, nsout);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue