some crap with baked textures
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user