diff options
author | Robin Allen <roblovski@gmail.com> | 2009-02-06 04:21:38 +0300 |
---|---|---|
committer | Robin Allen <roblovski@gmail.com> | 2009-02-06 04:21:38 +0300 |
commit | 6a669d00b230901f3d0a0aba3aeac8eafde7ca84 (patch) | |
tree | b22d83dbc3365888dd7aebde7e02fd882959be60 /source/blender/blenkernel | |
parent | fbdd75a4756423a1f884c4738defa31781513823 (diff) |
Patch #18015, adds "Value to Normal" node
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index c36590fae86..20a9fae33bb 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -405,6 +405,7 @@ struct TexResult; #define TEX_NODE_DISTANCE 118 #define TEX_NODE_COMPOSE 119 #define TEX_NODE_DECOMPOSE 120 +#define TEX_NODE_VALTONOR 121 /* 201-299 reserved. Use like this: TEX_NODE_PROC + TEX_CLOUDS, etc */ #define TEX_NODE_PROC 200 diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 25d921bb783..14111f2c175 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -2882,6 +2882,7 @@ static void registerTextureNodes(ListBase *ntypelist) nodeRegisterType(ntypelist, &tex_node_mix_rgb); nodeRegisterType(ntypelist, &tex_node_valtorgb); nodeRegisterType(ntypelist, &tex_node_rgbtobw); + nodeRegisterType(ntypelist, &tex_node_valtonor); nodeRegisterType(ntypelist, &tex_node_curve_rgb); nodeRegisterType(ntypelist, &tex_node_curve_time); nodeRegisterType(ntypelist, &tex_node_invert); |