line ending fix (no code change)

Tank_Master 2012-05-31 00:46:06 -07:00
parent 3962d5ab66
commit efd2487d5c
1 changed files with 18 additions and 18 deletions

View File

@ -900,24 +900,24 @@ void LLVOVolume::updateTextureVirtualSize(bool forced)
mDrawable->getNumFaces();
std::set<LLViewerFetchedTexture*> tex_list;
std::string output="";
for(S32 i = 0 ; i < num_faces; i++)
{
LLFace* facep = mDrawable->getFace(i) ;
if(facep)
{
LLViewerFetchedTexture* tex = dynamic_cast<LLViewerFetchedTexture*>(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<LLViewerFetchedTexture*>(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);
}