Fix T38355: Crash with Shader Node Group with missing datablock,

only in "Material" viewport shading.
This commit is contained in:
Lukas Tönne 2014-01-27 12:26:49 +01:00
parent 31d679b667
commit 21c56f754f

@ -211,6 +211,9 @@ static int gpu_group_execute(GPUMaterial *mat, bNode *node, bNodeExecData *execd
{
bNodeTreeExec *exec = execdata->data;
if (!node->id)
return 0;
group_gpu_copy_inputs(node, in, exec->stack);
#if 0 /* XXX NODE_GROUP_EDIT is deprecated, depends on node space */
ntreeExecGPUNodes(exec, mat, (node->flag & NODE_GROUP_EDIT));