Fix for bug #18438: TEX_valToNormal.c array size error.
Error pointed out by Dan Eicher, thanks!
This commit is contained in:
parent
688db0f251
commit
dbe675195d
@ -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 nabla = tex_input_value(in[1], coord, thread);
|
||||||
float val;
|
float val;
|
||||||
float nor[2];
|
float nor[3];
|
||||||
|
|
||||||
val = tex_input_value(in[0], coord, thread);
|
val = tex_input_value(in[0], coord, thread);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user