From 5486016e04386cf00550ac9ede8615d1daf281b9 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 28 May 2013 08:58:27 +0000 Subject: [PATCH] Fix #35547: incomplete tooltips in node editor Descriptions were missing since PyNodes integration. Thanks to lukas for patch review! --- source/blender/nodes/composite/node_composite_tree.c | 2 +- source/blender/nodes/shader/node_shader_tree.c | 2 +- source/blender/nodes/texture/node_texture_tree.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/nodes/composite/node_composite_tree.c b/source/blender/nodes/composite/node_composite_tree.c index 401b0144fcd..a00ddf3d5e0 100644 --- a/source/blender/nodes/composite/node_composite_tree.c +++ b/source/blender/nodes/composite/node_composite_tree.c @@ -228,7 +228,7 @@ void register_node_tree_type_cmp(void) strcpy(tt->idname, "CompositorNodeTree"); strcpy(tt->ui_name, "Compositing"); tt->ui_icon = 0; /* defined in drawnode.c */ - strcpy(tt->ui_description, ""); + strcpy(tt->ui_description, "Compositing nodes"); tt->free_cache = free_cache; tt->free_node_cache = free_node_cache; diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c index 65ae205a2ab..134a5c9575f 100644 --- a/source/blender/nodes/shader/node_shader_tree.c +++ b/source/blender/nodes/shader/node_shader_tree.c @@ -170,7 +170,7 @@ void register_node_tree_type_sh(void) strcpy(tt->idname, "ShaderNodeTree"); strcpy(tt->ui_name, "Shader"); tt->ui_icon = 0; /* defined in drawnode.c */ - strcpy(tt->ui_description, ""); + strcpy(tt->ui_description, "Shader nodes"); tt->foreach_nodeclass = foreach_nodeclass; tt->localize = localize; diff --git a/source/blender/nodes/texture/node_texture_tree.c b/source/blender/nodes/texture/node_texture_tree.c index 94589c927b3..859636ed4e5 100644 --- a/source/blender/nodes/texture/node_texture_tree.c +++ b/source/blender/nodes/texture/node_texture_tree.c @@ -170,7 +170,7 @@ void register_node_tree_type_tex(void) strcpy(tt->idname, "TextureNodeTree"); strcpy(tt->ui_name, "Texture"); tt->ui_icon = 0; /* defined in drawnode.c */ - strcpy(tt->ui_description, ""); + strcpy(tt->ui_description, "Texture nodes"); tt->foreach_nodeclass = foreach_nodeclass; tt->update = update;