diff options
author | richard <none@none> | 2009-10-22 18:10:47 -0700 |
---|---|---|
committer | richard <none@none> | 2009-10-22 18:10:47 -0700 |
commit | f31b0baff45fa32fb26ec96eb1a34f7debd7ef3e (patch) | |
tree | 11cd371721385f0806724cb0520fd6ac3925ffa4 /indra/newview/llwearable.cpp | |
parent | 12c38ccd6a614a0c62615906aec647a3d665b465 (diff) | |
parent | 07ffe9c149f3147837028612c93df3f0a4a890d0 (diff) |
merge
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r-- | indra/newview/llwearable.cpp | 7 |
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); } |