diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2007-04-04 17:58:12 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2007-04-04 17:58:12 +0400 |
commit | fb0f61c0b09aedaf536369becdc9e9e77609275f (patch) | |
tree | e48cfe75de05619b5de5cc5c04ffaec7597629e4 /source/blender/nodes/intern/CMP_nodes/CMP_rgb.c | |
parent | afdd54fa3720c267f30e48ed45c449d80449bac0 (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_rgb.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_rgb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_rgb.c b/source/blender/nodes/intern/CMP_nodes/CMP_rgb.c index 1c690ef0113..ae2678dc5f0 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_rgb.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_rgb.c @@ -54,7 +54,10 @@ bNodeType cmp_node_rgb= { /* storage */ "", /* execfunc */ node_composit_exec_rgb, /* butfunc */ NULL, - /* initfunc */ NULL + /* initfunc */ NULL, + /* freestoragefunc */ NULL, + /* copystoragefunc */ NULL, + /* id */ NULL }; |