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:
authorMatt Ebb <matt@mke3.net>2006-12-31 03:28:46 +0300
committerMatt Ebb <matt@mke3.net>2006-12-31 03:28:46 +0300
commit2dd1c967613bdf8e34750d4c2e851976504129bf (patch)
treec7347f32a74665c4297d123bfb53df316c5be6e1 /source/blender/src/toolbox.c
parent91b2bc5c2344220aa395d5e7d6e2fd5c777b6218 (diff)
== Compositor ==
* Added a new top-level add menu category for compositing nodes: Distort It currently contains Translate, Rotate, Scale, Flip, Displace and Map UV Also did some cleaning up of the ordering of add node menu items to be a bit better organised.
Diffstat (limited to 'source/blender/src/toolbox.c')
-rw-r--r--source/blender/src/toolbox.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c
index c9fced04a00..7d77ad755d5 100644
--- a/source/blender/src/toolbox.c
+++ b/source/blender/src/toolbox.c
@@ -1534,8 +1534,8 @@ static TBitem tb_node_addsh[]= {
{ 0, "Output", 2, NULL},
{ 0, "Color", 3, NULL},
{ 0, "Vector", 4, NULL},
- { 0, "Convertors", 5, NULL},
- { 0, "Groups", 6, NULL},
+ { 0, "Convertor", 5, NULL},
+ { 0, "Group", 6, NULL},
{ -1, "", 0, NULL}};
static TBitem tb_node_addcomp[]= {
@@ -1543,10 +1543,11 @@ static TBitem tb_node_addcomp[]= {
{ 0, "Output", 2, NULL},
{ 0, "Color", 3, NULL},
{ 0, "Vector", 4, NULL},
- { 0, "Filters", 5, NULL},
- { 0, "Convertors", 6, NULL},
- { 0, "Groups", 7, NULL},
- { 0, "Mattes", 8, NULL},
+ { 0, "Filter", 5, NULL},
+ { 0, "Convertor", 6, NULL},
+ { 0, "Matte", 7, NULL},
+ { 0, "Distort", 8, NULL},
+ { 0, "Group", 9, NULL},
{ -1, "", 0, NULL}};
/* do_node_addmenu() in header_node.c, prototype in BSE_headerbuttons.h */
@@ -1554,7 +1555,7 @@ static TBitem tb_node_addcomp[]= {
/* dynamic toolbox sublevel */
static TBitem *node_add_sublevel(ListBase *storage, bNodeTree *ntree, int nodeclass)
{
- static TBitem _addmenu[]= { { 0, "Empty", 0, NULL}, { -1, "", 0, NULL}};
+ static TBitem _addmenu[]= { { 0, " ", 0, NULL}, { -1, "", 0, NULL}};
Link *link;
bNodeType **typedefs;
TBitem *addmenu;
@@ -2038,8 +2039,10 @@ void toolbox_n(void)
menu1[3].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_OP_VECTOR);
menu1[4].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_OP_FILTER);
menu1[5].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_CONVERTOR);
- menu1[6].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_GROUP);
- menu1[7].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_MATTE);
+ menu1[6].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_MATTE);
+ menu1[7].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_DISTORT);
+ menu1[8].poin= node_add_sublevel(&storage, snode->nodetree, NODE_CLASS_GROUP);
+
}
dx= 96;