static void group_freeexec(void *nodedata) { bNodeTreeExec *gexec = (bNodeTreeExec *)nodedata; if (gexec) ntreeShaderEndExecTree_internal(gexec); }
void ntreeShaderEndExecTree(bNodeTreeExec *exec) { if (exec) { /* exec may get freed, so assign ntree */ bNodeTree *ntree = exec->nodetree; ntreeShaderEndExecTree_internal(exec); /* XXX clear nodetree backpointer to exec data, same problem as noted in ntreeBeginExecTree */ ntree->execdata = NULL; } }
static void group_freeexec(bNode *UNUSED(node), void *nodedata) { bNodeTreeExec*gexec = (bNodeTreeExec *)nodedata; ntreeShaderEndExecTree_internal(gexec); }