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/SHD_nodes/SHD_vectMath.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/SHD_nodes/SHD_vectMath.c')
-rw-r--r-- | source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c b/source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c index 22da16b9620..8d0a4b3abe3 100644 --- a/source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c +++ b/source/blender/nodes/intern/SHD_nodes/SHD_vectMath.c @@ -109,7 +109,10 @@ bNodeType sh_node_vect_math= { /* output sock */ sh_node_vect_math_out, /* storage */ "node_vect_math", /* execfunc */ node_shader_exec_vect_math, - /* butfunc */ NULL, - /* initfunc */ NULL + /* butfunc */ NULL, + /* initfunc */ NULL, + /* freestoragefunc */ NULL, + /* copystoragefunc */ NULL, + /* id */ NULL }; |