diff options
author | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-03-26 03:54:39 +0400 |
---|---|---|
committer | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-03-26 03:54:39 +0400 |
commit | c1e901811811f10c90789784667ed9c0f708010f (patch) | |
tree | 8f25ece1d7cd18f13e6b962821b618703b4adcb6 /source/blender/nodes/intern/CMP_nodes/CMP_filter.c | |
parent | 8d4f2f9fe1e6cd4e162741e7dc879c8e2dc5b235 (diff) |
All UI code reverted to drawnode.c
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_filter.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_filter.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_filter.c b/source/blender/nodes/intern/CMP_nodes/CMP_filter.c index d5fb6c3d3da..408420a399c 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_filter.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_filter.c @@ -213,19 +213,6 @@ static void node_composit_exec_filter(void *data, bNode *node, bNodeStack **in, } } -static int node_composit_buts_filter(uiBlock *block, bNodeTree *ntree, bNode *node, rctf *butr) -{ - if(block) { - uiBut *bt; - - /* blend type */ - bt=uiDefButS(block, MENU, B_NODE_EXEC+node->nr, "Soften %x0|Sharpen %x1|Laplace %x2|Sobel %x3|Prewitt %x4|Kirsch %x5|Shadow %x6", - butr->xmin, butr->ymin, butr->xmax-butr->xmin, 20, - &node->custom1, 0, 0, 0, 0, ""); - uiButSetFunc(bt, node_but_title_cb, node, bt); - } - return 20; -} bNodeType cmp_node_filter= { /* type code */ CMP_NODE_FILTER, @@ -236,7 +223,8 @@ bNodeType cmp_node_filter= { /* output sock */ cmp_node_filter_out, /* storage */ "", /* execfunc */ node_composit_exec_filter, - /* butfunc */ node_composit_buts_filter + /* butfunc */ NULL, + /* initfunc */ NULL }; |