diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-01-22 22:08:06 +0000 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-01-22 22:08:06 +0000 |
commit | 26add5700d88338b94ce891892948998b0468131 (patch) | |
tree | 592c0295c96f3b48f9c75a0c0452709abe305bd3 /indra/newview/llviewermessage.cpp | |
parent | cddb530b4de1521f59261dd53498e49a4050191b (diff) |
MAINT-8159 - animation state management during link/unlink commands
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 31eda85828..29fb5dcd53 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -5116,42 +5116,6 @@ 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 1 - // Here we go into skinned mode once, the first time we get an - // animation request, and then stay there. This is probably the - // normally desired behavior. - if (!avatarp->mPlaying) - { - avatarp->mPlaying = true; - if (!avatarp->mRootVolp->isAnySelected()) - { - avatarp->updateVolumeGeom(); - avatarp->mRootVolp->recursiveMarkForUpdate(TRUE); - } - } -#else// AXON REMOVE BEFORE RELEASE? - // In this block we switch back into static mode when no animations are - // playing. This is mostly useful for debugging. - if (num_blocks > 0 && !avatarp->mPlaying) - { - avatarp->mPlaying = true; - if (!avatarp->mRootVolp->isAnySelected()) - { - avatarp->updateVolumeGeom(); - avatarp->mRootVolp->recursiveMarkForUpdate(TRUE); - } - } - else if (num_blocks == 0 && avatarp->mPlaying) - { - avatarp->mPlaying = false; - if (!avatarp->mRootVolp->isAnySelected()) - { - avatarp->updateVolumeGeom(); - avatarp->mRootVolp->recursiveMarkForUpdate(TRUE); - } - } -#endif - volp->mObjectSignaledAnimations.clear(); for( S32 i = 0; i < num_blocks; i++ ) |