summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 13:49:44 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 13:49:44 -0800
commit481bf863c2194400fec15c3ebaac4a0f4d69ed6d (patch)
treea0a958d35bfbfcf0d07acad6beec26bcac0a0c0a
parent4421a51cfeb43b3be6de520acb9f94052fc7e2df (diff)
CID-129
Checker: NO_EFFECT Function: LLTexLayerTemplate::getLayer(unsigned int) File: /indra/newview/lltexlayer.cpp
-rw-r--r--indra/newview/lltexlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexlayer.cpp b/indra/newview/lltexlayer.cpp
index 84c8b9d5f0..b8419e088a 100644
--- a/indra/newview/lltexlayer.cpp
+++ b/indra/newview/lltexlayer.cpp
@@ -1860,7 +1860,7 @@ U32 LLTexLayerTemplate::updateWearableCache()
}
LLTexLayer* LLTexLayerTemplate::getLayer(U32 i)
{
- if (mWearableCache.size() <= i || i < 0)
+ if (mWearableCache.size() <= i)
{
return NULL;
}