Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-06-20 11:36:11 +0400
committerThomas Dinges <blender@dingto.org>2014-06-20 11:36:25 +0400
commita5a869c579de97437deded3482d9f04555a8ee26 (patch)
tree4e667d5a425e716fc527f93641ccee3e4b2551f3 /source/blender/nodes
parent8660a0cab3e0f5b05a14b362e9a5174acf969c54 (diff)
Fix 2 GLSL errors, with Cycles Hair BSDF.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c
index b48a4be9f7a..dbc8807a845 100644
--- a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c
+++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c
@@ -43,9 +43,6 @@ static bNodeSocketTemplate sh_node_bsdf_hair_out[] = {
static int node_shader_gpu_bsdf_hair(GPUMaterial *mat, bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
{
- if (!in[2].link)
- in[2].link = GPU_builtin(GPU_VIEW_NORMAL);
-
return GPU_stack_link(mat, "node_bsdf_hair", in, out);
}