summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llwearable.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp
index 8cfb8b1103..d093031bea 100644
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -824,10 +824,7 @@ void LLWearable::setLocalTextureObject(S32 index, LLLocalTextureObject &lto)
{
mTEMap.erase(index);
}
- if( lto )
- {
- mTEMap[index] = new LLLocalTextureObject(lto);
- }
+ mTEMap[index] = new LLLocalTextureObject(lto);
}