Fix #31288: Blender crash when select a material
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 May 2012 11:49:58 +0000 (11:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 May 2012 11:49:58 +0000 (11:49 +0000)
commitdf553582e96569e49a4d28c167c5dd334be5f216
treeab1be5aecd7fd91ce59e8c5f820b0c408c28c78d
parentc01aa64247357570e4f469185240a416075bd971
Fix #31288: Blender crash when select a material

Quite the same issue as render crash on missed shader groups, needed a NULL-check
in node exec function as well.
source/blender/nodes/shader/nodes/node_shader_common.c
source/blender/nodes/texture/nodes/node_texture_common.c