summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 15:53:56 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 15:53:56 -0800
commite7c17cb29b63fb85bf345133ed78a026a224af30 (patch)
treeef1c4eb682b6bc3aac761ca550f6ca482edbcf73 /indra/newview/llwearable.cpp
parente133a9824695d0286ca7717b1eb6a1c57748b898 (diff)
a follow-up fix.
Diffstat (limited to 'indra/newview/llwearable.cpp')
-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);
}