summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-02-23 20:30:38 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-02-23 20:30:38 +0000
commit5af9ce5737903aa730db47733fbb0e164d87eaf4 (patch)
tree12f345188e3b8e959f3df120261f256c49d297c3
parenta61b6d1d1772d42e737c6b55dbfe8bfc1761c1a6 (diff)
MAINT-8264 - possible fix for yet another LOD stuck case
-rw-r--r--indra/newview/llviewermessage.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 29fb5dcd53..201920ef54 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -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++ )