forked from bartvdbraak/blender
Fix #35625, crash with NULL pointer after node render. Happens when node group node_tree pointer is NULL, then the group node doesn not produce any execdata and needs to check this accordingly in the
freeexec callback.
This commit is contained in:
parent
5f0731dc8d
commit
4d53729ab9
@ -89,7 +89,8 @@ static void group_freeexec(bNode *UNUSED(node), void *nodedata)
|
||||
{
|
||||
bNodeTreeExec *gexec = (bNodeTreeExec *)nodedata;
|
||||
|
||||
ntreeShaderEndExecTree_internal(gexec);
|
||||
if (gexec)
|
||||
ntreeShaderEndExecTree_internal(gexec);
|
||||
}
|
||||
|
||||
/* Copy inputs to the internal stack.
|
||||
|
Loading…
Reference in New Issue
Block a user