some crap with baked textures
This commit is contained in:
@@ -89,7 +89,9 @@ void LLFloaterAvatarTextures::draw()
|
|||||||
LLFloater::draw();
|
LLFloater::draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !LL_RELEASE_FOR_DOWNLOAD
|
// <edit>
|
||||||
|
//#if !LL_RELEASE_FOR_DOWNLOAD
|
||||||
|
// </edit>
|
||||||
static void update_texture_ctrl(LLVOAvatar* avatarp,
|
static void update_texture_ctrl(LLVOAvatar* avatarp,
|
||||||
LLTextureCtrl* ctrl,
|
LLTextureCtrl* ctrl,
|
||||||
ETextureIndex te)
|
ETextureIndex te)
|
||||||
@@ -146,6 +148,9 @@ void LLFloaterAvatarTextures::refresh()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// <edit>
|
||||||
|
/*
|
||||||
|
// </edit>
|
||||||
#else
|
#else
|
||||||
|
|
||||||
void LLFloaterAvatarTextures::refresh()
|
void LLFloaterAvatarTextures::refresh()
|
||||||
@@ -153,11 +158,16 @@ void LLFloaterAvatarTextures::refresh()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
// <edit>
|
||||||
|
*/
|
||||||
|
// </edit>
|
||||||
|
|
||||||
// static
|
// static
|
||||||
void LLFloaterAvatarTextures::onClickDump(void* data)
|
void LLFloaterAvatarTextures::onClickDump(void* data)
|
||||||
{
|
{
|
||||||
#if !LL_RELEASE_FOR_DOWNLOAD
|
// <edit>
|
||||||
|
//#if !LL_RELEASE_FOR_DOWNLOAD
|
||||||
|
// </edit>
|
||||||
LLFloaterAvatarTextures* self = (LLFloaterAvatarTextures*)data;
|
LLFloaterAvatarTextures* self = (LLFloaterAvatarTextures*)data;
|
||||||
LLVOAvatar* avatarp = find_avatar(self->mID);
|
LLVOAvatar* avatarp = find_avatar(self->mID);
|
||||||
if (!avatarp) return;
|
if (!avatarp) return;
|
||||||
@@ -169,5 +179,7 @@ void LLFloaterAvatarTextures::onClickDump(void* data)
|
|||||||
|
|
||||||
llinfos << "Avatar TE " << i << " id " << te->getID() << llendl;
|
llinfos << "Avatar TE " << i << " id " << te->getID() << llendl;
|
||||||
}
|
}
|
||||||
#endif
|
// <edit>
|
||||||
|
//#endif
|
||||||
|
// </edit>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2461,11 +2461,15 @@ class LLAvatarDebug : public view_listener_t
|
|||||||
if( avatar )
|
if( avatar )
|
||||||
{
|
{
|
||||||
avatar->dumpLocalTextures();
|
avatar->dumpLocalTextures();
|
||||||
|
// <edit> hell no don't tell them about that
|
||||||
|
/*
|
||||||
llinfos << "Dumping temporary asset data to simulator logs for avatar " << avatar->getID() << llendl;
|
llinfos << "Dumping temporary asset data to simulator logs for avatar " << avatar->getID() << llendl;
|
||||||
std::vector<std::string> strings;
|
std::vector<std::string> strings;
|
||||||
strings.push_back(avatar->getID().asString());
|
strings.push_back(avatar->getID().asString());
|
||||||
LLUUID invoice;
|
LLUUID invoice;
|
||||||
send_generic_message("dumptempassetdata", strings, invoice);
|
send_generic_message("dumptempassetdata", strings, invoice);
|
||||||
|
*/
|
||||||
|
// </edit>
|
||||||
LLFloaterAvatarTextures::show( avatar->getID() );
|
LLFloaterAvatarTextures::show( avatar->getID() );
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user