From 4c3dea8a2eecb475a9c7e06056f17d075bf1c357 Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Thu, 17 Mar 2011 10:31:20 +0000 Subject: Small tooltip change to better indicate the purpose of the node name string and moved the node label button to the top, since this is usually what user will want to edit instead of the identifier name. --- source/blender/editors/space_node/node_buttons.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_node/node_buttons.c') diff --git a/source/blender/editors/space_node/node_buttons.c b/source/blender/editors/space_node/node_buttons.c index f8ea6e881f7..684961f2606 100644 --- a/source/blender/editors/space_node/node_buttons.c +++ b/source/blender/editors/space_node/node_buttons.c @@ -112,9 +112,10 @@ static void active_node_panel(const bContext *C, Panel *pa) uiBlockSetHandleFunc(block, do_node_region_buttons, NULL); /* draw this node's name, etc. */ - uiItemR(layout, &ptr, "name", 0, NULL, ICON_NODE); uiItemR(layout, &ptr, "label", 0, NULL, ICON_NODE); - // TODO: a separator would be nice... + uiItemS(layout); + uiItemR(layout, &ptr, "name", 0, NULL, ICON_NODE); + uiItemS(layout); /* draw this node's settings */ if (node->typeinfo && node->typeinfo->uifunc) -- cgit v1.2.3