some crap with baked textures

This commit is contained in:
Hazim Gazov
2010-05-09 07:29:10 -03:00
parent 40cd4c3034
commit efc658ccf1
2 changed files with 19 additions and 3 deletions

View File

@@ -89,7 +89,9 @@ void LLFloaterAvatarTextures::draw()
LLFloater::draw();
}
#if !LL_RELEASE_FOR_DOWNLOAD
// <edit>
//#if !LL_RELEASE_FOR_DOWNLOAD
// </edit>
static void update_texture_ctrl(LLVOAvatar* avatarp,
LLTextureCtrl* ctrl,
ETextureIndex te)
@@ -146,6 +148,9 @@ void LLFloaterAvatarTextures::refresh()
}
}
// <edit>
/*
// </edit>
#else
void LLFloaterAvatarTextures::refresh()
@@ -153,11 +158,16 @@ void LLFloaterAvatarTextures::refresh()
}
#endif
// <edit>
*/
// </edit>
// static
void LLFloaterAvatarTextures::onClickDump(void* data)
{
#if !LL_RELEASE_FOR_DOWNLOAD
// <edit>
//#if !LL_RELEASE_FOR_DOWNLOAD
// </edit>
LLFloaterAvatarTextures* self = (LLFloaterAvatarTextures*)data;
LLVOAvatar* avatarp = find_avatar(self->mID);
if (!avatarp) return;
@@ -169,5 +179,7 @@ void LLFloaterAvatarTextures::onClickDump(void* data)
llinfos << "Avatar TE " << i << " id " << te->getID() << llendl;
}
#endif
// <edit>
//#endif
// </edit>
}

View File

@@ -2461,11 +2461,15 @@ class LLAvatarDebug : public view_listener_t
if( avatar )
{
avatar->dumpLocalTextures();
// <edit> hell no don't tell them about that
/*
llinfos << "Dumping temporary asset data to simulator logs for avatar " << avatar->getID() << llendl;
std::vector<std::string> strings;
strings.push_back(avatar->getID().asString());
LLUUID invoice;
send_generic_message("dumptempassetdata", strings, invoice);
*/
// </edit>
LLFloaterAvatarTextures::show( avatar->getID() );
}
return true;