From e41dde44f00fd494417f0ca11abed7aa98ccf32d Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Wed, 13 Jun 2012 18:15:54 -0700 Subject: EXP-1959: Marking the teleport entry access notifications as unique so they do not stack. --- indra/newview/llagent.cpp | 1 - indra/newview/skins/default/xui/en/notifications.xml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 1767522255..347cde6975 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3898,7 +3898,6 @@ void LLAgent::handleTeleportFinished() void LLAgent::handleTeleportFailed() { - llassert(mTeleportRequest != NULL); if (mTeleportRequest != NULL) { mTeleportRequest->setStatus(LLTeleportRequest::kFailed); diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 2376365505..588ab8d386 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -4156,6 +4156,9 @@ The region you're trying to visit contains [REGIONMATURITY] content, but your cu icon="alertmodal.tga" name="TeleportEntryAccessBlocked_AdultsOnlyContent" type="alertmodal"> + + REGIONMATURITY + fail confirm The region you're trying to visit contains [REGIONMATURITY] content, which is accessible to adults only. @@ -4173,6 +4176,9 @@ The region you're trying to visit contains [REGIONMATURITY] content, but your cu icon="notifytip.tga" name="TeleportEntryAccessBlocked_Notify" type="notifytip"> + + REGIONMATURITY + fail The region you're trying to visit contains [REGIONMATURITY] content, but your current preferences are set to exclude [REGIONMATURITY] content. @@ -4181,6 +4187,9 @@ The region you're trying to visit contains [REGIONMATURITY] content, but your cu icon="notifytip.tga" name="TeleportEntryAccessBlocked_NotifyAdultsOnly" type="notifytip"> + + REGIONMATURITY + fail The region you're trying to visit contains [REGIONMATURITY] content, which is accessible to adults only. @@ -4189,6 +4198,9 @@ The region you're trying to visit contains [REGIONMATURITY] content, but your cu icon="alertmodal.tga" name="TeleportEntryAccessBlocked_ChangeAndReTeleport" type="alertmodal"> + + REGIONMATURITY + fail confirm The region you're trying to visit contains [REGIONMATURITY] content, but your current preferences are set to exclude [REGIONMATURITY] content. We can change your preferences and continue with the teleport, or you can cancel this teleport. @@ -4210,6 +4222,9 @@ The region you're trying to visit contains [REGIONMATURITY] content, but your cu icon="alertmodal.tga" name="TeleportEntryAccessBlocked_Change" type="alertmodal"> + + REGIONMATURITY + fail confirm The region you're trying to visit contains [REGIONMATURITY] content, but your current preferences are set to exclude [REGIONMATURITY] content. We can change your preferences, or you can cancel the teleport. After your preferences are changed, you will need to attempt the teleport again. -- cgit v1.2.3