Fix T51687: GPUmat evaluation of shader tree would crash uppon unknown/unsupported...
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 1 Jun 2017 10:18:57 +0000 (12:18 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 1 Jun 2017 10:18:57 +0000 (12:18 +0200)
commit528ae8885ebb8a2eebbc6726af3950ca4db38665
tree67ec22c05690cf0edcbd66ab840998a6273cc271
parente2b1c70b487aa61f59d57fbde61df0ce30aded20
Fix T51687: GPUmat evaluation of shader tree would crash uppon unknown/unsupported socket types.

Made this resilient to unknown types, for now. Supporting specific INT
sockets (through implicit conversion to GPU_FLOAT ones) is considered nice TODO.
source/blender/nodes/intern/node_exec.c
source/blender/nodes/shader/node_shader_util.c