Force rebake now calls requestServerAppearanceUpdate() if supported

meow-7.2.2
Brad Payne (Vir Linden) 2012-08-28 17:59:10 -04:00
parent 87833a2485
commit a6bdef6480
1 changed files with 4 additions and 0 deletions

View File

@ -7620,6 +7620,10 @@ void handle_rebake_textures(void*)
// Slam pending upload count to "unstick" things
bool slam_for_debug = true;
gAgentAvatarp->forceBakeAllTextures(slam_for_debug);
if (gAgent.getRegion() && gAgent.getRegion()->getCentralBakeVersion())
{
LLAppearanceMgr::instance().requestServerAppearanceUpdate();
}
}
void toggle_visibility(void* user_data)