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:
authorRobert Holcomb <bob_holcomb@hotmail.com>2007-03-26 03:54:39 +0400
committerRobert Holcomb <bob_holcomb@hotmail.com>2007-03-26 03:54:39 +0400
commitc1e901811811f10c90789784667ed9c0f708010f (patch)
tree8f25ece1d7cd18f13e6b962821b618703b4adcb6 /source/blender/nodes/intern/CMP_nodes/CMP_idMask.c
parent8d4f2f9fe1e6cd4e162741e7dc879c8e2dc5b235 (diff)
All UI code reverted to drawnode.c
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_idMask.c')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_idMask.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_idMask.c b/source/blender/nodes/intern/CMP_nodes/CMP_idMask.c
index 312b32a577b..79d11907bd3 100644
--- a/source/blender/nodes/intern/CMP_nodes/CMP_idMask.c
+++ b/source/blender/nodes/intern/CMP_nodes/CMP_idMask.c
@@ -84,16 +84,6 @@ static void node_composit_exec_idmask(void *data, bNode *node, bNodeStack **in,
}
-static int node_composit_buts_id_mask(uiBlock *block, bNodeTree *ntree, bNode *node, rctf *butr)
-{
- if(block) {
- uiDefButS(block, NUM, B_NODE_EXEC+node->nr, "ID:",
- butr->xmin, butr->ymin, butr->xmax-butr->xmin, 20,
- &node->custom1, 0, 10000, 0, 0, "Pass Index number to convert to Alpha");
- }
- return 20;
-}
-
bNodeType cmp_node_idmask= {
/* type code */ CMP_NODE_ID_MASK,
/* name */ "ID Mask",
@@ -103,7 +93,8 @@ bNodeType cmp_node_idmask= {
/* output sock */ cmp_node_idmask_out,
/* storage */ "",
/* execfunc */ node_composit_exec_idmask,
- /* butfunc */ node_composit_buts_id_mask
+ /* butfunc */ NULL,
+ /* initfunc */ NULL
};