diff options
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_light_path.c')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_light_path.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_light_path.c b/source/blender/nodes/shader/nodes/node_shader_light_path.c index 0055257dda2..d399a0bddd4 100644 --- a/source/blender/nodes/shader/nodes/node_shader_light_path.c +++ b/source/blender/nodes/shader/nodes/node_shader_light_path.c @@ -42,10 +42,6 @@ static bNodeSocketTemplate sh_node_light_path_out[]= { { -1, 0, "" } }; -static void node_shader_exec_light_path(void *UNUSED(data), bNode *UNUSED(node), bNodeStack **UNUSED(in), bNodeStack **UNUSED(out)) -{ -} - static int node_shader_gpu_light_path(GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out) { return GPU_stack_link(mat, "node_light_path", in, out); @@ -62,7 +58,7 @@ void register_node_type_sh_light_path(ListBase *lb) node_type_size(&ntype, 150, 60, 200); node_type_init(&ntype, NULL); node_type_storage(&ntype, "", NULL, NULL); - node_type_exec(&ntype, node_shader_exec_light_path); + node_type_exec(&ntype, NULL); node_type_gpu(&ntype, node_shader_gpu_light_path); nodeRegisterType(lb, &ntype); |