summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-12-14 15:48:46 -0800
committerMerov Linden <merov@lindenlab.com>2014-12-14 15:48:46 -0800
commit00f3850fe2e2527f7f0f663f94cdabc83949b946 (patch)
treecd6b9d713d8f984e4a5c44dcd7c6380c7d6b3764 /indra/newview/llagent.cpp
parent9fb9b087ff5ec8ca981bfd1c8e94d114d4068b58 (diff)
DD-299 : Suppress cap hardcoded fallback. Recheck cap after each teleport.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index e5a90e8a28..392fe8fc2e 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -3867,6 +3867,12 @@ void LLAgent::handleTeleportFinished()
LLNotificationsUtil::add("PreferredMaturityChanged", args);
mIsMaturityRatingChangingDuringTeleport = false;
}
+
+ // Init SLM Marketplace connection so we know which UI should be used for the user as a merchant
+ // Note: Eventually, all merchant will be migrated to the new SLM system and there will be no reason to show the old UI at all.
+ // Note: Some regions will not support the SLM cap for a while so we need to do that check for each teleport.
+ // *TODO : Suppress that line from here once the whole grid migrated to SLM and move it to idle_startup() (llstartup.cpp)
+ check_merchant_status();
}
void LLAgent::handleTeleportFailed()