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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-28 15:10:56 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-28 15:10:56 +0400
commit2a3c1a4cf316e6ebc812078145979a642b2c9698 (patch)
tree8b8bd3aec107c0c098bc0f1d1a309ed0fd753067 /source
parent4ddcb653996d2a3934ef8787510f234087c4e462 (diff)
Fix #22964: incorrect derivatives for global texture coordinates, showed up as
artifacts in bump mapping.
Diffstat (limited to 'source')
-rw-r--r--source/blender/render/intern/source/texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/texture.c b/source/blender/render/intern/source/texture.c
index c8a15372e21..658748bdaeb 100644
--- a/source/blender/render/intern/source/texture.c
+++ b/source/blender/render/intern/source/texture.c
@@ -1731,7 +1731,7 @@ void do_material_tex(ShadeInput *shi)
co= shi->tang; dx= shi->dxno; dy= shi->dyno;
}
else if(mtex->texco==TEXCO_GLOB) {
- co= shi->gl; dx= shi->dxco; dy= shi->dyco;
+ co= shi->gl; dx= shi->dxgl; dy= shi->dygl;
}
else if(mtex->texco==TEXCO_UV) {
if(mtex->texflag & MTEX_DUPLI_MAPTO) {