summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-09-28 19:13:17 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-09-28 19:13:17 +0100
commit2c81ace766546da0ea11efd4fa27cf1717eb5411 (patch)
tree004a76e7394e3fe04694ca52ae61de0f9da140ec /indra/newview/llvovolume.cpp
parenta84ee929a5221aec07bcc93815ca6c57bb8ab6bb (diff)
SL-1290 - stop animations immediately if avatar is paused
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 913460b3d1..192307dc8b 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -4726,7 +4726,6 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons
}
else
{
-#if 1
bool is_paused = avatar && avatar->areAnimationsPaused();
if (is_paused)
{
@@ -4736,7 +4735,6 @@ void LLRiggedVolume::update(const LLMeshSkinInfo* skin, LLVOAvatar* avatar, cons
return;
}
}
-#endif
}