Fix for bug #18788: vector math node subtract did not work,

patch by Matt D., thanks.
This commit is contained in:
Brecht Van Lommel 2009-05-26 15:01:06 +00:00
parent 33304d022d
commit 7e48820a97

@ -101,7 +101,7 @@ static void node_shader_exec_vect_math(void *data, bNode *node, bNodeStack **in,
static int gpu_shader_vect_math(GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
{
static char *names[] = {"vec_math_add", "vec_math_subtract",
static char *names[] = {"vec_math_add", "vec_math_sub",
"vec_math_average", "vec_math_dot", "vec_math_cross",
"vec_math_normalize"};