diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-03-24 16:39:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-03-24 16:39:50 +0300 |
commit | dbe675195d8f78fb3a5f9b89d0c6b89a47513198 (patch) | |
tree | 31920a5ca44026fff8822c8a5274382452ab6d98 /source | |
parent | 688db0f25169a4270c2d7250a7eb200bf2ab0ae0 (diff) |
Fix for bug #18438: TEX_valToNormal.c array size error.
Error pointed out by Dan Eicher, thanks!
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/intern/TEX_nodes/TEX_valToNor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/TEX_nodes/TEX_valToNor.c b/source/blender/nodes/intern/TEX_nodes/TEX_valToNor.c index f63f5682030..0d24652a8f6 100644 --- a/source/blender/nodes/intern/TEX_nodes/TEX_valToNor.c +++ b/source/blender/nodes/intern/TEX_nodes/TEX_valToNor.c @@ -45,7 +45,7 @@ static void normalfn(float *out, float *coord, bNode *node, bNodeStack **in, sho float nabla = tex_input_value(in[1], coord, thread); float val; - float nor[2]; + float nor[3]; val = tex_input_value(in[0], coord, thread); |