diff options
author | Robin Allen <roblovski@gmail.com> | 2009-02-06 21:09:35 +0300 |
---|---|---|
committer | Robin Allen <roblovski@gmail.com> | 2009-02-06 21:09:35 +0300 |
commit | 09099111e39a7363fa186c4200b60b3b2bd93f9e (patch) | |
tree | c6ab8602a5a434307e4b7846ee084ac701835bb2 /source/blender/blenkernel | |
parent | 86c25491e14d11174324ec14056d7cc94891d359 (diff) |
Added Scale, fixed bugs incl. patch #18037
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 20a9fae33bb..3f04330f2a3 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -406,6 +406,7 @@ struct TexResult; #define TEX_NODE_COMPOSE 119 #define TEX_NODE_DECOMPOSE 120 #define TEX_NODE_VALTONOR 121 +#define TEX_NODE_SCALE 122 /* 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 14111f2c175..978b47b651f 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -2902,6 +2902,7 @@ static void registerTextureNodes(ListBase *ntypelist) nodeRegisterType(ntypelist, &tex_node_rotate); nodeRegisterType(ntypelist, &tex_node_translate); + nodeRegisterType(ntypelist, &tex_node_scale); nodeRegisterType(ntypelist, &tex_node_proc_voronoi); nodeRegisterType(ntypelist, &tex_node_proc_blend); |