diff options
author | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2014-11-13 18:47:57 +0200 |
---|---|---|
committer | ruslantproductengine <ruslantproductengine@lindenlab.com> | 2014-11-13 18:47:57 +0200 |
commit | c686407731751ababecf01569fa02eb5ba62337d (patch) | |
tree | cc36e977dc5ef1888442dadf0bc79eb22a2e881e /indra/llprimitive/llprimtexturelist.cpp | |
parent | 444c9a70859b5f918fbfb3798f1612c3626fd7ce (diff) |
MAINT-4092 FIXED Prim faces with opaque diffuse maps, with material set to ALPHA_MODE_BLEND, do not render
MAINT-4645 FIXED [viewer-lion] The build tool shows normal or specular map as 'none' when one exists
Diffstat (limited to 'indra/llprimitive/llprimtexturelist.cpp')
-rwxr-xr-x | indra/llprimitive/llprimtexturelist.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llprimitive/llprimtexturelist.cpp b/indra/llprimitive/llprimtexturelist.cpp index dfae9699ec..f4f08248b8 100755 --- a/indra/llprimitive/llprimtexturelist.cpp +++ b/indra/llprimitive/llprimtexturelist.cpp @@ -377,6 +377,16 @@ S32 LLPrimTextureList::setMaterialParams(const U8 index, const LLMaterialPtr pMa return TEM_CHANGE_NONE; } +LLMaterialPtr LLPrimTextureList::getMaterialParams(const U8 index) +{ + if (index < mEntryList.size()) + { + return mEntryList[index]->getMaterialParams(); + } + + return LLMaterialPtr(); +} + S32 LLPrimTextureList::size() const { return mEntryList.size(); |