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_mapUV.c | |
parent | 8d4f2f9fe1e6cd4e162741e7dc879c8e2dc5b235 (diff) |
All UI code reverted to drawnode.c
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c b/source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c index a0b35ab5260..172df387dbd 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_mapUV.c @@ -129,16 +129,6 @@ static void node_composit_exec_mapuv(void *data, bNode *node, bNodeStack **in, b } } -static int node_composit_buts_map_uv(uiBlock *block, bNodeTree *ntree, bNode *node, rctf *butr) -{ - if(block) { - uiDefButS(block, NUM, B_NODE_EXEC+node->nr, "Alpha:", - butr->xmin, butr->ymin, butr->xmax-butr->xmin, 20, - &node->custom1, 0, 100, 0, 0, "Conversion percentage of UV differences to Alpha"); - } - return 20; -} - bNodeType cmp_node_mapuv= { /* type code */ CMP_NODE_MAP_UV, /* name */ "Map UV", @@ -148,7 +138,8 @@ bNodeType cmp_node_mapuv= { /* output sock */ cmp_node_mapuv_out, /* storage */ "", /* execfunc */ node_composit_exec_mapuv, - /* butfunc */ node_composit_buts_map_uv + /* butfunc */ NULL, + /* initfunc */ NULL }; |