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:
authorNathan Letwory <nathan@letworyinteractive.com>2007-04-04 17:58:12 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2007-04-04 17:58:12 +0400
commitfb0f61c0b09aedaf536369becdc9e9e77609275f (patch)
treee48cfe75de05619b5de5cc5c04ffaec7597629e4 /source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c
parentafdd54fa3720c267f30e48ed45c449d80449bac0 (diff)
=== Node editor ===
* refactor copying and freeing of node->storage by handlerizing them. - freestoragefunc - copystoragefunc - node_util.c/h have generic handlers for these.
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c b/source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c
index 3c2054e400d..152180afc08 100644
--- a/source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c
+++ b/source/blender/nodes/intern/CMP_nodes/CMP_colorSpill.c
@@ -123,19 +123,22 @@ static void node_composit_init_color_spill(bNode *node)
c->fsize= 0.0f;
c->fstrength= 0.0f;
node->custom1= 2; /* green channel */
-};
+}
bNodeType cmp_node_color_spill={
/* *next,*prev */ NULL, NULL,
- /* type code */ CMP_NODE_COLOR_SPILL,
- /* name */ "Color Spill",
- /* width+range */ 140, 80, 200,
- /* class+opts */ NODE_CLASS_MATTE, NODE_OPTIONS,
- /* input sock */ cmp_node_color_spill_in,
- /* output sock */ cmp_node_color_spill_out,
- /* storage */ "NodeChroma",
- /* execfunc */ node_composit_exec_color_spill,
- /* butfunc */ NULL,
- node_composit_init_color_spill
+ /* type code */ CMP_NODE_COLOR_SPILL,
+ /* name */ "Color Spill",
+ /* width+range */ 140, 80, 200,
+ /* class+opts */ NODE_CLASS_MATTE, NODE_OPTIONS,
+ /* input sock */ cmp_node_color_spill_in,
+ /* output sock */ cmp_node_color_spill_out,
+ /* storage */ "NodeChroma",
+ /* execfunc */ node_composit_exec_color_spill,
+ /* butfunc */ NULL,
+ /* initfunc */ node_composit_init_color_spill,
+ /* freestoragefunc */ node_free_standard_storage,
+ /* copystoragefunc */ node_copy_standard_storage,
+ /* id */ NULL
};