diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-08-26 11:53:57 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-08-26 11:53:57 +0300 |
commit | e8adc1d008fbe704798f3b5820fca38ba9abeb48 (patch) | |
tree | c24bd9cd63600638e6ffb1c585b1111459509e51 /indra/newview/llvoavatar.cpp | |
parent | e7266a31d8c8b8191ea265069f65a4279f7cc188 (diff) |
MAINT-4322 FIXED Re-assert DND tag animation if it was cancelled by script, when DND mode is still active
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 22b979aa09..d6c03b6888 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -4884,6 +4884,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; } |