summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2014-12-01 16:16:11 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2014-12-01 16:16:11 -0500
commit38a258d04a98939e12bb2cfce6caea288a7fc3a5 (patch)
treef221aca4c34189bb1cced52a2edb86cc67314138 /indra/newview/llvoavatar.cpp
parent1135ba80ec569e20187c36a5364debf9eae8aab7 (diff)
parentfa9097b65f9d89fd0c8bf7b32924f0327a617cdc (diff)
merge
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 835c4e6176..51ef2e7564 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -4857,6 +4857,12 @@ BOOL LLVOAvatar::processSingleAnimationStateChange( const LLUUID& anim_id, BOOL
{
sitDown(FALSE);
}
+ if ((anim_id == ANIM_AGENT_DO_NOT_DISTURB) && gAgent.isDoNotDisturb())
+ {
+ // re-assert DND tag animation
+ gAgent.sendAnimationRequest(ANIM_AGENT_DO_NOT_DISTURB, ANIM_REQUEST_START);
+ return result;
+ }
stopMotion(anim_id);
result = TRUE;
}