Revision: 17025
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17025
Author:   blendix
Date:     2008-10-11 21:34:48 +0200 (Sat, 11 Oct 2008)

Log Message:
-----------
Fix for bug #17794: GLSL didn't take into account normal maps
for Nor texture inputs.

Modified Paths:
--------------
    trunk/blender/source/blender/gpu/intern/gpu_material.c

Modified: trunk/blender/source/blender/gpu/intern/gpu_material.c
===================================================================
--- trunk/blender/source/blender/gpu/intern/gpu_material.c      2008-10-11 
19:32:53 UTC (rev 17024)
+++ trunk/blender/source/blender/gpu/intern/gpu_material.c      2008-10-11 
19:34:48 UTC (rev 17025)
@@ -928,7 +928,7 @@
                        else if(mtex->texco==TEXCO_OBJECT)
                                texco= texco_object;
                        else if(mtex->texco==TEXCO_NORM)
-                               texco= texco_norm;
+                               texco= orn;
                        else if(mtex->texco==TEXCO_TANGENT)
                                texco= texco_object;
                        else if(mtex->texco==TEXCO_GLOB)


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to