[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20040] trunk/blender/source/blender/nodes /intern/SHD_nodes/SHD_math.c: Fix for bug #18659: glsl math material node, "tangent" option didn't work.

Brecht Van Lommel brecht at blender.org
Sun May 3 15:17:37 CEST 2009


Revision: 20040
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20040
Author:   blendix
Date:     2009-05-03 15:17:37 +0200 (Sun, 03 May 2009)

Log Message:
-----------
Fix for bug #18659: glsl math material node, "tangent" option didn't work.

Modified Paths:
--------------
    trunk/blender/source/blender/nodes/intern/SHD_nodes/SHD_math.c

Modified: trunk/blender/source/blender/nodes/intern/SHD_nodes/SHD_math.c
===================================================================
--- trunk/blender/source/blender/nodes/intern/SHD_nodes/SHD_math.c	2009-05-03 13:00:59 UTC (rev 20039)
+++ trunk/blender/source/blender/nodes/intern/SHD_nodes/SHD_math.c	2009-05-03 13:17:37 UTC (rev 20040)
@@ -197,7 +197,7 @@
 static int gpu_shader_math(GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
 {
 	static char *names[] = {"math_add", "math_subtract", "math_multiply",
-		"math_divide", "math_sine", "math_cosine", "math_tangnet", "math_asin",
+		"math_divide", "math_sine", "math_cosine", "math_tangent", "math_asin",
 		"math_acos", "math_atan", "math_pow", "math_log", "math_min", "math_max",
 		"math_round", "math_less_than", "math_greater_than"};
 





More information about the Bf-blender-cvs mailing list