diff options
author | Graham Linden <graham@lindenlab.com> | 2013-06-20 09:34:30 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-06-20 09:34:30 -0700 |
commit | 42a46595558c5d87f62c9fd8e52fdad1c6960e4d (patch) | |
tree | c56e4c65098ff551ef4fd9ce4b91af4948bec924 /indra/newview | |
parent | 504b83400037f1c77731007443f5420b877d6877 (diff) |
NORSPEC-278 fix misuse of legacy bumps when rendering objects with TE bumpmap setting of 18 aka BUMPY_TEXTURE
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llvovolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 3be1f52352..685f854573 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -5354,7 +5354,7 @@ void LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, std:: mode == LLMaterial::DIFFUSE_ALPHA_MODE_EMISSIVE; } - bool use_legacy_bump = te->getBumpmap() && (!mat || mat->getNormalID().isNull()); + bool use_legacy_bump = te->getBumpmap() && (te->getBumpmap() < 18) && (!mat || mat->getNormalID().isNull()); if (mat && LLPipeline::sRenderDeferred && !hud_group) { |