summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llprimtexturelist.cpp
diff options
context:
space:
mode:
authorTonya Souther <tonya.souther@gmail.com>2013-01-31 11:40:16 -0600
committerTonya Souther <tonya.souther@gmail.com>2013-01-31 11:40:16 -0600
commitc1b110dd1d002b2bcb340dad9350b9717e1ca325 (patch)
tree6466c6c9a1481ef1ced85d5a1a22bdd0978a11ec /indra/llprimitive/llprimtexturelist.cpp
parentd53f69b67f2aed05fd763932f25cc8b5c40ec774 (diff)
parentd1b224158da7b2e6f7329eadfbd555e9941e1bf9 (diff)
Merging in main repository.
Diffstat (limited to 'indra/llprimitive/llprimtexturelist.cpp')
-rw-r--r--indra/llprimitive/llprimtexturelist.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llprimitive/llprimtexturelist.cpp b/indra/llprimitive/llprimtexturelist.cpp
index 20438578b3..c0923315cb 100644
--- a/indra/llprimitive/llprimtexturelist.cpp
+++ b/indra/llprimitive/llprimtexturelist.cpp
@@ -369,6 +369,15 @@ S32 LLPrimTextureList::setMaterialID(const U8 index, const LLMaterialID& pMateri
return TEM_CHANGE_NONE;
}
+S32 LLPrimTextureList::setMaterialParams(const U8 index, const LLMaterialPtr pMaterialParams)
+{
+ if (index < mEntryList.size())
+ {
+ return mEntryList[index]->setMaterialParams(pMaterialParams);
+ }
+ return TEM_CHANGE_NONE;
+}
+
S32 LLPrimTextureList::size() const
{
return mEntryList.size();