Nodes: Remove code which was dead for 2 years now

This commit is contained in:
Sergey Sharybin
2016-02-04 09:57:00 +01:00
parent f41a5c60a7
commit ac53999d1b

View File

@@ -46,16 +46,7 @@ static bNodeSocketTemplate sh_node_subsurface_scattering_out[] = {
static void node_shader_init_subsurface_scattering(bNodeTree *UNUSED(ntree), bNode *node)
{
/*bNodeSocket *sock;*/
node->custom1 = SHD_SUBSURFACE_BURLEY;
/*for (sock = node->inputs.first; sock; sock = sock->next) {
if (STREQ(sock->name, "Sharpness")) {
bNodeSocketValueFloat *dval = sock->default_value;
dval->value = 0.0f;
}
}*/
}
static int node_shader_gpu_subsurface_scattering(GPUMaterial *mat, bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)