MAINT-8264 - possible fix for yet another LOD stuck case

meow-7.2.2
Brad Payne (Vir Linden) 2018-02-23 20:30:38 +00:00
parent a61b6d1d17
commit 5af9ce5737
1 changed files with 10 additions and 0 deletions

View File

@ -5116,6 +5116,16 @@ void process_object_animation(LLMessageSystem *mesgsys, void **user_data)
S32 num_blocks = mesgsys->getNumberOfBlocksFast(_PREHASH_AnimationList);
LL_DEBUGS("AnimatedObjects") << "processing object animation requests, num_blocks " << num_blocks << LL_ENDL;
if (!avatarp->mPlaying)
{
avatarp->mPlaying = true;
if (!avatarp->mRootVolp->isAnySelected())
{
avatarp->updateVolumeGeom();
avatarp->mRootVolp->recursiveMarkForUpdate(TRUE);
}
}
volp->mObjectSignaledAnimations.clear();
for( S32 i = 0; i < num_blocks; i++ )