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_alphaOver.c
parent8d4f2f9fe1e6cd4e162741e7dc879c8e2dc5b235 (diff)
All UI code reverted to drawnode.c
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c b/source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c
index c12f61f76ca..0ef0f096e89 100644
--- a/source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c
+++ b/source/blender/nodes/intern/CMP_nodes/CMP_alphaOver.c
@@ -107,18 +107,6 @@ static void node_composit_exec_alphaover(void *data, bNode *node, bNodeStack **i
}
}
-static int node_composit_buts_alphaover(uiBlock *block, bNodeTree *ntree, bNode *node, rctf *butr)
-{
- if(block) {
-
- /* alpha type */
- uiDefButS(block, TOG, B_NODE_EXEC+node->nr, "ConvertPremul",
- butr->xmin, butr->ymin, butr->xmax-butr->xmin, 19,
- &node->custom1, 0, 0, 0, 0, "");
- }
- return 19;
-}
-
bNodeType cmp_node_alphaover= {
/* type code */ CMP_NODE_ALPHAOVER,
/* name */ "AlphaOver",
@@ -128,7 +116,8 @@ bNodeType cmp_node_alphaover= {
/* output sock */ cmp_node_alphaover_out,
/* storage */ "",
/* execfunc */ node_composit_exec_alphaover,
- /* butfunc */ node_composit_buts_alphaover
+ /* butfunc */ NULL,
+ /*initfunc */ NULL
};