Fix for build failures

meow-7.2.2
Brad Payne (Vir Linden) 2012-11-14 13:54:48 -05:00
parent 51a1d510a5
commit 284e1b44d7
1 changed files with 2 additions and 0 deletions

View File

@ -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())
{