summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-10-22 02:16:58 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-10-22 02:16:58 +0000
commitef97fc146c3b1ca775c818b8beabb6d37e1b33b4 (patch)
tree90209ba78179e0fa4c2378ce8a6a8420c8589451 /indra
parentc7786aa5b614d1c88359bacbe9bd447f5acdd84c (diff)
Fix for Mac build.
Diffstat (limited to 'indra')
-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 84bb099d55..631f128ffa 100644
--- a/indra/newview/llwearable.cpp
+++ b/indra/newview/llwearable.cpp
@@ -407,9 +407,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);
}