diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 8266266117..8ec8ef12c3 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -900,24 +900,24 @@ void LLVOVolume::updateTextureVirtualSize(bool forced) mDrawable->getNumFaces(); std::set tex_list; std::string output=""; - for(S32 i = 0 ; i < num_faces; i++) - { - LLFace* facep = mDrawable->getFace(i) ; - if(facep) - { - LLViewerFetchedTexture* tex = dynamic_cast(facep->getTexture()) ; - if(tex) - { - if(tex_list.find(tex) != tex_list.end()) - { - continue ; //already displayed. - } - tex_list.insert(tex); - S32 width= tex->getWidth(); - S32 height= tex->getWidth(); - output+=llformat("%dx%d\n",width,height); - } - } + for(S32 i = 0 ; i < num_faces; i++) + { + LLFace* facep = mDrawable->getFace(i) ; + if(facep) + { + LLViewerFetchedTexture* tex = dynamic_cast(facep->getTexture()) ; + if(tex) + { + if(tex_list.find(tex) != tex_list.end()) + { + continue ; //already displayed. + } + tex_list.insert(tex); + S32 width= tex->getWidth(); + S32 height= tex->getWidth(); + output+=llformat("%dx%d\n",width,height); + } + } } setDebugText(output); }