diff options
author | Ines Almeida <britalmeida@gmail.com> | 2018-01-08 00:29:25 +0300 |
---|---|---|
committer | Ines Almeida <britalmeida@gmail.com> | 2018-01-08 00:29:25 +0300 |
commit | 87607254d6d3f9ca5ebbc696a4066bf0c8fbbed4 (patch) | |
tree | 0fd4aedc48f05c87e722250e2c00dca04cac1974 /source/blender/nodes/texture | |
parent | add580beeea0e1d5bd8be2336c8a5b25bc8c601a (diff) |
(Nodes) Display image name if any in the Image and Texture Image node title
Diffstat (limited to 'source/blender/nodes/texture')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_image.c b/source/blender/nodes/texture/nodes/node_texture_image.c index 9b13589f3e1..8e9821c0fcb 100644 --- a/source/blender/nodes/texture/nodes/node_texture_image.c +++ b/source/blender/nodes/texture/nodes/node_texture_image.c @@ -106,6 +106,7 @@ void register_node_type_tex_image(void) node_type_init(&ntype, init); node_type_storage(&ntype, "ImageUser", node_free_standard_storage, node_copy_standard_storage); node_type_exec(&ntype, NULL, NULL, exec); - + node_type_label(&ntype, node_image_label); + nodeRegisterType(&ntype); } |