Cycles: make node with multiple input sockets with the same name work. Previously
[blender.git] / source / blender / nodes / shader / nodes / node_shader_mix_shader.c
index 637f515583c832c40986949cd49d97755d3de328..49f536330802be2f74de5ba35a9e22038905fc86 100644 (file)
@@ -33,8 +33,8 @@
 
 static bNodeSocketTemplate sh_node_mix_shader_in[]= {
        {       SOCK_FLOAT,  1, "Fac",          0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
-       {       SOCK_SHADER, 1, "Shader1"},
-       {       SOCK_SHADER, 1, "Shader2"},
+       {       SOCK_SHADER, 1, "Shader"},
+       {       SOCK_SHADER, 1, "Shader"},
        {       -1, 0, ""       }
 };