Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 62c3f848284..db6117d854b 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -928,7 +928,7 @@ static void do_material_tex(GPUShadeInput *shi)
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)