Commit: d640ce40aa9e472613cac22ecbc7655db9c27201
Author: Ines Almeida
Date:   Tue Feb 13 00:58:26 2018 +0100
Branches: master
https://developer.blender.org/rBd640ce40aa9e472613cac22ecbc7655db9c27201

(Nodes) Display image name if any in the Cycles Image and Environment Texture 
node title

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

M       source/blender/nodes/shader/nodes/node_shader_tex_environment.c
M       source/blender/nodes/shader/nodes/node_shader_tex_image.c

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

diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_environment.c 
b/source/blender/nodes/shader/nodes/node_shader_tex_environment.c
index 2f8f95b0675..508abbf4db1 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_environment.c
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_environment.c
@@ -102,6 +102,7 @@ void register_node_type_sh_tex_environment(void)
        node_type_init(&ntype, node_shader_init_tex_environment);
        node_type_storage(&ntype, "NodeTexEnvironment", 
node_free_standard_storage, node_copy_standard_storage);
        node_type_gpu(&ntype, node_shader_gpu_tex_environment);
+       node_type_label(&ntype, node_image_label);
 
        nodeRegisterType(&ntype);
 }
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_image.c 
b/source/blender/nodes/shader/nodes/node_shader_tex_image.c
index 71200dfe9d3..5f5cec61513 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_image.c
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_image.c
@@ -126,6 +126,7 @@ void register_node_type_sh_tex_image(void)
        node_type_init(&ntype, node_shader_init_tex_image);
        node_type_storage(&ntype, "NodeTexImage", node_free_standard_storage, 
node_copy_standard_storage);
        node_type_gpu(&ntype, node_shader_gpu_tex_image);
+       node_type_label(&ntype, node_image_label);
 
        nodeRegisterType(&ntype);
 }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to