From 42e2c47b3d744c5d53ccd315ffda3c26c7d60bff Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 9 May 2011 11:02:04 +0000 Subject: [PATCH] Cycles: fix node outputs not connect to more than one input. --- .../nodes/intern/SHD_nodes/SHD_add_closure.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_attribute.c | 2 +- .../nodes/intern/SHD_nodes/SHD_background.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_anisotropic.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_diffuse.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_glass.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_glossy.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_translucent.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_transparent.c | 2 +- .../nodes/intern/SHD_nodes/SHD_bsdf_velvet.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_emission.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_geometry.c | 14 +++++++------- .../nodes/intern/SHD_nodes/SHD_light_path.c | 12 ++++++------ .../nodes/intern/SHD_nodes/SHD_mix_closure.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_tex_blend.c | 2 +- .../nodes/intern/SHD_nodes/SHD_tex_clouds.c | 4 ++-- .../blender/nodes/intern/SHD_nodes/SHD_tex_coord.c | 12 ++++++------ .../nodes/intern/SHD_nodes/SHD_tex_distnoise.c | 2 +- .../nodes/intern/SHD_nodes/SHD_tex_environment.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_tex_image.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_tex_magic.c | 2 +- .../nodes/intern/SHD_nodes/SHD_tex_marble.c | 2 +- .../nodes/intern/SHD_nodes/SHD_tex_musgrave.c | 2 +- .../blender/nodes/intern/SHD_nodes/SHD_tex_noise.c | 4 ++-- .../blender/nodes/intern/SHD_nodes/SHD_tex_sky.c | 2 +- .../nodes/intern/SHD_nodes/SHD_tex_stucci.c | 2 +- .../nodes/intern/SHD_nodes/SHD_tex_voronoi.c | 4 ++-- .../blender/nodes/intern/SHD_nodes/SHD_tex_wood.c | 2 +- 28 files changed, 47 insertions(+), 47 deletions(-) diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_add_closure.c b/source/blender/nodes/intern/SHD_nodes/SHD_add_closure.c index 87d8a155cbf..fbd4727d68b 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_add_closure.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_add_closure.c @@ -38,7 +38,7 @@ static bNodeSocketType sh_node_add_closure_in[]= { }; static bNodeSocketType sh_node_add_closure_out[]= { - { SOCK_CLOSURE, 1, "Closure", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "Closure", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_attribute.c b/source/blender/nodes/intern/SHD_nodes/SHD_attribute.c index 99678e1acd8..ef9fb63e8bc 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_attribute.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_attribute.c @@ -32,7 +32,7 @@ /* **************** OUTPUT ******************** */ static bNodeSocketType sh_node_attribute_out[]= { - { SOCK_VECTOR, 1, "Vector", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Vector", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_background.c b/source/blender/nodes/intern/SHD_nodes/SHD_background.c index 5156e8bde41..b15ba89ba17 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_background.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_background.c @@ -38,7 +38,7 @@ static bNodeSocketType sh_node_background_in[]= { }; static bNodeSocketType sh_node_background_out[]= { - { SOCK_CLOSURE, 1, "Background", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "Background", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_anisotropic.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_anisotropic.c index 207ca361ff7..bb80993d8bc 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_anisotropic.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_anisotropic.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_bsdf_anisotropic_in[]= { }; static bNodeSocketType sh_node_bsdf_anisotropic_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_diffuse.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_diffuse.c index 0d5aaf3a4dc..1732d737be9 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_diffuse.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_diffuse.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_bsdf_diffuse_in[]= { }; static bNodeSocketType sh_node_bsdf_diffuse_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glass.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glass.c index 04a7e17078d..eab042ad9a6 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glass.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glass.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_bsdf_glass_in[]= { }; static bNodeSocketType sh_node_bsdf_glass_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glossy.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glossy.c index b3a00b251df..3a1ad4766de 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glossy.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glossy.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_bsdf_glossy_in[]= { }; static bNodeSocketType sh_node_bsdf_glossy_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_translucent.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_translucent.c index a6c8dfcda7f..3a09b0bf2cf 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_translucent.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_translucent.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_bsdf_translucent_in[]= { }; static bNodeSocketType sh_node_bsdf_translucent_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_transparent.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_transparent.c index e496525e281..8324e73fec7 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_transparent.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_transparent.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_bsdf_transparent_in[]= { }; static bNodeSocketType sh_node_bsdf_transparent_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_velvet.c b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_velvet.c index 4ed78f4ad9f..33878a65f53 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_velvet.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_bsdf_velvet.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_bsdf_velvet_in[]= { }; static bNodeSocketType sh_node_bsdf_velvet_out[]= { - { SOCK_CLOSURE, 1, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "BSDF", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_emission.c b/source/blender/nodes/intern/SHD_nodes/SHD_emission.c index 81f6a08d7e5..9486388b679 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_emission.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_emission.c @@ -38,7 +38,7 @@ static bNodeSocketType sh_node_emission_in[]= { }; static bNodeSocketType sh_node_emission_out[]= { - { SOCK_CLOSURE, 1, "Emission", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "Emission", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_geometry.c b/source/blender/nodes/intern/SHD_nodes/SHD_geometry.c index 20fbb520ef8..15c304c7e47 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_geometry.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_geometry.c @@ -32,13 +32,13 @@ /* **************** OUTPUT ******************** */ static bNodeSocketType sh_node_geometry_out[]= { - { SOCK_VECTOR, 1, "Position", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Normal", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Tangent", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "True Normal", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Incoming", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Parametric", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Backfacing", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Position", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Normal", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Tangent", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "True Normal", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Incoming", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Parametric", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Backfacing", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_light_path.c b/source/blender/nodes/intern/SHD_nodes/SHD_light_path.c index b0e2f1430ac..9405b7b591a 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_light_path.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_light_path.c @@ -32,12 +32,12 @@ /* **************** OUTPUT ******************** */ static bNodeSocketType sh_node_light_path_out[]= { - { SOCK_VALUE, 1, "Is Camera Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Is Shadow Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Is Diffuse Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Is Glossy Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Is Reflection Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Is Transmission Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Is Camera Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Is Shadow Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Is Diffuse Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Is Glossy Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Is Reflection Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Is Transmission Ray", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_mix_closure.c b/source/blender/nodes/intern/SHD_nodes/SHD_mix_closure.c index 6aaa9271737..f126a55611c 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_mix_closure.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_mix_closure.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_mix_closure_in[]= { }; static bNodeSocketType sh_node_mix_closure_out[]= { - { SOCK_CLOSURE, 1, "Closure", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_CLOSURE, 0, "Closure", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_blend.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_blend.c index fdb73f7f814..bd656a7b015 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_blend.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_blend.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_tex_blend_in[]= { }; static bNodeSocketType sh_node_tex_blend_out[]= { - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_clouds.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_clouds.c index 01b62e1e982..be2d03018fa 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_clouds.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_clouds.c @@ -38,8 +38,8 @@ static bNodeSocketType sh_node_tex_clouds_in[]= { }; static bNodeSocketType sh_node_tex_clouds_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_coord.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_coord.c index ffc2ad447a4..3ef69dd1bce 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_coord.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_coord.c @@ -32,12 +32,12 @@ /* **************** OUTPUT ******************** */ static bNodeSocketType sh_node_tex_coord_out[]= { - { SOCK_VECTOR, 1, "Generated", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "UV", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Object", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Camera", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Window", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VECTOR, 1, "Reflection", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Generated", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "UV", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Object", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Camera", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Window", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VECTOR, 0, "Reflection", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_distnoise.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_distnoise.c index 323b0505eac..415159074bb 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_distnoise.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_distnoise.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_tex_distnoise_in[]= { }; static bNodeSocketType sh_node_tex_distnoise_out[]= { - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_environment.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_environment.c index fbd9cf96108..d9050ae8c43 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_environment.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_environment.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_tex_environment_in[]= { }; static bNodeSocketType sh_node_tex_environment_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_image.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_image.c index 9d40d3b145c..69f93ab1903 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_image.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_image.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_tex_image_in[]= { }; static bNodeSocketType sh_node_tex_image_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_magic.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_magic.c index 80ff32a3be3..5cd210a1804 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_magic.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_magic.c @@ -38,7 +38,7 @@ static bNodeSocketType sh_node_tex_magic_in[]= { }; static bNodeSocketType sh_node_tex_magic_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_marble.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_marble.c index 69908342aac..b42faee69a5 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_marble.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_marble.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_tex_marble_in[]= { }; static bNodeSocketType sh_node_tex_marble_out[]= { - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_musgrave.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_musgrave.c index 2ade58571ce..e40e7488abe 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_musgrave.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_musgrave.c @@ -43,7 +43,7 @@ static bNodeSocketType sh_node_tex_musgrave_in[]= { }; static bNodeSocketType sh_node_tex_musgrave_out[]= { - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_noise.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_noise.c index 9dd1c6ca2d7..6349fa8e27a 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_noise.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_noise.c @@ -37,8 +37,8 @@ static bNodeSocketType sh_node_tex_noise_in[]= { }; static bNodeSocketType sh_node_tex_noise_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_sky.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_sky.c index 5deb180fd56..5061e8c28b8 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_sky.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_sky.c @@ -37,7 +37,7 @@ static bNodeSocketType sh_node_tex_sky_in[]= { }; static bNodeSocketType sh_node_tex_sky_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_stucci.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_stucci.c index eec76a1538f..c403daaa2d9 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_stucci.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_stucci.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_tex_stucci_in[]= { }; static bNodeSocketType sh_node_tex_stucci_out[]= { - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_voronoi.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_voronoi.c index 2ea85beeb89..113ffed1870 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_voronoi.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_voronoi.c @@ -43,8 +43,8 @@ static bNodeSocketType sh_node_tex_voronoi_in[]= { }; static bNodeSocketType sh_node_tex_voronoi_out[]= { - { SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } }; diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_tex_wood.c b/source/blender/nodes/intern/SHD_nodes/SHD_tex_wood.c index ed7960fabb0..430d1bacf8c 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_tex_wood.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_tex_wood.c @@ -39,7 +39,7 @@ static bNodeSocketType sh_node_tex_wood_in[]= { }; static bNodeSocketType sh_node_tex_wood_out[]= { - { SOCK_VALUE, 1, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + { SOCK_VALUE, 0, "Fac", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, { -1, 0, "" } };