summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.cpp
diff options
context:
space:
mode:
authorerica <none@none>2009-10-22 15:59:37 -0700
committererica <none@none>2009-10-22 15:59:37 -0700
commit872ecdbec6c32b79b332ec0970beb010ca44b86a (patch)
treed1e3b6c98287291cb0cd019126cf8eab48c57d59 /indra/newview/llwearable.cpp
parent08ccc8384e9f134a231ae4af2bf0c2aa3f70c4c3 (diff)
parent35e8a7cae665ac42e94680e13fb267eb3a6e3cfb (diff)
EXT-1449 Viewer 2.0 Fit & Finish Pass: Places Panel - Landmark detail -actually deleted the file this time
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r--indra/newview/llwearable.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp
index d1ad89442c..b219081cb8 100644
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -408,9 +408,10 @@ BOOL LLWearable::importFile( LLFILE* file )
{
delete mSavedTEMap[te];
}
-
- mTEMap[te] = new LLLocalTextureObject(image, LLUUID(text_buffer));
- mSavedTEMap[te] = new LLLocalTextureObject(image, LLUUID(text_buffer));
+
+ LLUUID textureid(text_buffer);
+ mTEMap[te] = new LLLocalTextureObject(image, textureid);
+ mSavedTEMap[te] = new LLLocalTextureObject(image, textureid);
createLayers(te);
}