Cycles: make node with multiple input sockets with the same name work. Previously
[blender.git] / source / blender / nodes / shader / nodes / node_shader_mixRgb.c
index a9e4f2129be3f5afd6cf1c94a5d3d3553779eb12..ed5695edd42ca0e9b9f83ee021a7e336d9ccae8d 100644 (file)
@@ -37,8 +37,8 @@
 /* **************** MIX RGB ******************** */
 static bNodeSocketTemplate sh_node_mix_rgb_in[]= {
        {       SOCK_FLOAT, 1, "Fac",                   0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
-       {       SOCK_RGBA, 1, "Color1",                 0.5f, 0.5f, 0.5f, 1.0f},
-       {       SOCK_RGBA, 1, "Color2",                 0.5f, 0.5f, 0.5f, 1.0f},
+       {       SOCK_RGBA, 1, "Color",                  0.5f, 0.5f, 0.5f, 1.0f},
+       {       SOCK_RGBA, 1, "Color",                  0.5f, 0.5f, 0.5f, 1.0f},
        {       -1, 0, ""       }
 };
 static bNodeSocketTemplate sh_node_mix_rgb_out[]= {