Commit: aa3307300471fa917910491ce4f8f243dd1c1edb
Author: Pratik Borhade
Date:   Wed Aug 4 11:20:43 2021 +0200
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rBaa3307300471fa917910491ce4f8f243dd1c1edb

Fix T87635: Rename shader node "Specular" to "Specular BSDF"

Node name edited in Specular node definition

Reviewed By: fclem

Maniphest Tasks: T87635

Differential Revision: https://developer.blender.org/D11022

===================================================================

M       source/blender/nodes/NOD_static_types.h
M       source/blender/nodes/shader/nodes/node_shader_eevee_specular.c

===================================================================

diff --git a/source/blender/nodes/NOD_static_types.h 
b/source/blender/nodes/NOD_static_types.h
index b368ac74894..6c3f91df434 100644
--- a/source/blender/nodes/NOD_static_types.h
+++ b/source/blender/nodes/NOD_static_types.h
@@ -61,7 +61,7 @@ DefNode(ShaderNode,     SH_NODE_COMBRGB,         0,           
           "COMBRG
 DefNode(ShaderNode,     SH_NODE_HUE_SAT,         0,                      
"HUE_SAT",        HueSaturation,    "Hue/Saturation",    ""              )
 
 DefNode(ShaderNode,     SH_NODE_OUTPUT_MATERIAL,    def_sh_output,          
"OUTPUT_MATERIAL",    OutputMaterial,   "Material Output",   ""       )
-DefNode(ShaderNode,     SH_NODE_EEVEE_SPECULAR,     0,                      
"EEVEE_SPECULAR",     EeveeSpecular,    "Specular",          ""       )
+DefNode(ShaderNode,     SH_NODE_EEVEE_SPECULAR,     0,                      
"EEVEE_SPECULAR",     EeveeSpecular,    "Specular BSDF",     ""       )
 DefNode(ShaderNode,     SH_NODE_OUTPUT_LIGHT,       def_sh_output,          
"OUTPUT_LIGHT",       OutputLight,      "Light Output",      ""       )
 DefNode(ShaderNode,     SH_NODE_OUTPUT_WORLD,       def_sh_output,          
"OUTPUT_WORLD",       OutputWorld,      "World Output",      ""       )
 DefNode(ShaderNode,     SH_NODE_OUTPUT_LINESTYLE,   
def_sh_output_linestyle,"OUTPUT_LINESTYLE",   OutputLineStyle,  "Line Style 
Output", ""       )
diff --git a/source/blender/nodes/shader/nodes/node_shader_eevee_specular.c 
b/source/blender/nodes/shader/nodes/node_shader_eevee_specular.c
index 56169b9be5e..015af19abb2 100644
--- a/source/blender/nodes/shader/nodes/node_shader_eevee_specular.c
+++ b/source/blender/nodes/shader/nodes/node_shader_eevee_specular.c
@@ -91,7 +91,7 @@ void register_node_type_sh_eevee_specular(void)
 {
   static bNodeType ntype;
 
-  sh_node_type_base(&ntype, SH_NODE_EEVEE_SPECULAR, "Specular", 
NODE_CLASS_SHADER, 0);
+  sh_node_type_base(&ntype, SH_NODE_EEVEE_SPECULAR, "Specular BSDF", 
NODE_CLASS_SHADER, 0);
   node_type_socket_templates(&ntype, sh_node_eevee_specular_in, 
sh_node_eevee_specular_out);
   node_type_init(&ntype, NULL);
   node_type_storage(&ntype, "", NULL, NULL);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to