Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2011-03-17 13:31:20 +0300
committerLukas Toenne <lukas.toenne@googlemail.com>2011-03-17 13:31:20 +0300
commit4c3dea8a2eecb475a9c7e06056f17d075bf1c357 (patch)
treefcd2f42c903370d8e64d067881be139b7a478e24 /source/blender/editors/space_node/node_buttons.c
parentafd8865181dab5a79a7ecb638c3cd9842087c452 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_node/node_buttons.c')
-rw-r--r--source/blender/editors/space_node/node_buttons.c5
1 files changed, 3 insertions, 2 deletions
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)