summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-11-14 13:54:48 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-11-14 13:54:48 -0500
commit284e1b44d7bcc463b0d3ca56eae76b19e8fea03f (patch)
tree1aacb30ad382dc794bb25a7b9cce4c819c308791 /indra
parent51a1d510a5dc0b4c02cf8e1c592dd017bb0d07f3 (diff)
Fix for build failures
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llvoavatar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 47cb31ae18..6f4dfdbe2a 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -5881,7 +5881,9 @@ void LLVOAvatar::updateMeshTextures()
if (use_lkg_baked_layer[i] && !isUsingLocalAppearance() )
{
LLViewerFetchedTexture* baked_img;
+#ifndef LL_RELEASE_FOR_DOWNLOAD
LLViewerFetchedTexture* existing_baked_img = LLViewerTextureManager::getFetchedTexture(mBakedTextureDatas[i].mLastTextureID);
+#endif
const std::string url = getImageURL(i, mBakedTextureDatas[i].mLastTextureID);
if (!url.empty())
{