Really send only one last packet instead of two...

meow-7.2.2
Ansariel 2014-02-04 14:28:48 +01:00
parent e969ab0d44
commit a751256f27
1 changed files with 6 additions and 4 deletions

View File

@ -4369,10 +4369,12 @@ void LLAppViewer::requestQuit()
}
// Try to send last batch of avatar rez metrics.
if (!gDisconnected && isAgentAvatarValid())
{
gAgentAvatarp->updateAvatarRezMetrics(true); // force a last packet to be sent.
}
// <FS:Ansariel> LL merge error
//if (!gDisconnected && isAgentAvatarValid())
//{
// gAgentAvatarp->updateAvatarRezMetrics(true); // force a last packet to be sent.
//}
// </FS:Ansariel>
LLHUDEffectSpiral *effectp = (LLHUDEffectSpiral*)LLHUDManager::getInstance()->createViewerEffect(LLHUDObject::LL_HUD_EFFECT_POINT, TRUE);
effectp->setPositionGlobal(gAgent.getPositionGlobal());