line ending fix (no code change)
parent
3962d5ab66
commit
efd2487d5c
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue