Cycles / Mix Shader:

* Made "Fac" Socket a "PROP_FACTOR", like the other Fac sockets in the compositor.
This commit is contained in:
Thomas Dinges
2013-03-19 13:46:46 +00:00
parent bbac76ee26
commit 8fe0c0eb45

View File

@@ -30,7 +30,7 @@
/* **************** OUTPUT ******************** */
static bNodeSocketTemplate sh_node_mix_shader_in[] = {
{ SOCK_FLOAT, 1, N_("Fac"), 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ SOCK_FLOAT, 1, N_("Fac"), 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR},
{ SOCK_SHADER, 1, N_("Shader")},
{ SOCK_SHADER, 1, N_("Shader")},
{ -1, 0, "" }