static void group_freeexec(void *nodedata)
{
	bNodeTreeExec *gexec = (bNodeTreeExec *)nodedata;
	
	if (gexec)
		ntreeShaderEndExecTree_internal(gexec);
}
示例#2
0
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;
	}
}
示例#3
0
static void group_freeexec(bNode *UNUSED(node), void *nodedata)
{
	bNodeTreeExec*gexec = (bNodeTreeExec *)nodedata;
	
	ntreeShaderEndExecTree_internal(gexec);
}