diff options
author | Juho Vepsalainen <bebraw@gmail.com> | 2008-01-07 22:38:01 +0300 |
---|---|---|
committer | Juho Vepsalainen <bebraw@gmail.com> | 2008-01-07 22:38:01 +0300 |
commit | aa1c0281c6df642d6c9673c00ac660a36a75f286 (patch) | |
tree | b062ce961329087d2791c118a5f84bfd944cf1cb /source/blender/src/toolbox.c | |
parent | 7da95822f0fabf1b554c34f5bcd7c4d6dcb4ae24 (diff) |
Custom Names for Nodes
This commit makes it possible to add a custom name to a node. The feature can be
accessed either by using a menu or shortcut ctrl-r. It currently works only when
a single node is selected. Invoking the feature gives a popup menu in which a new
name can be entered. If the given name is not empty, it will be shown like
"(myCustomName) NodeName" in the node header.
This feature is particularly useful when documenting complex node setups.
I also fixed the size of blur node. It was too short before due to my previous
commit.
Thanks to David Millan Escriva for contribution!
Diffstat (limited to 'source/blender/src/toolbox.c')
-rw-r--r-- | source/blender/src/toolbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index 73efe89c065..f67878a1df2 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -1659,6 +1659,7 @@ static TBitem tb_node_node[]= { { 0, "Edit Group|Tab", TB_TAB, NULL}, { 0, "SEPR", 0, NULL}, { 0, "Hide/Unhide|H", 'h', NULL}, + { 0, "Rename|Ctrl R", TB_CTRL|'r', NULL}, { 0, "SEPR", 0, NULL}, { 0, "Read Saved Render Results|R", 'r', NULL}, { 0, "Show Cyclic Dependencies|C", 'c', NULL}, |