summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarrenderinfoaccountant.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-08-19 15:43:06 -0400
committerandreykproductengine <akleshchev@productengine.com>2015-08-19 15:43:06 -0400
commit75304b4ca81e3fdb9164ec607997a6c30616d8ca (patch)
tree4bee13989d3578a52e25eb867f94af08f2769ae3 /indra/newview/llavatarrenderinfoaccountant.cpp
parent6a5844d936c3317626cfcbe9d9cb66086d570fca (diff)
MAINT-5378 Add notices for avatar complexity changes
Diffstat (limited to 'indra/newview/llavatarrenderinfoaccountant.cpp')
-rw-r--r--indra/newview/llavatarrenderinfoaccountant.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llavatarrenderinfoaccountant.cpp b/indra/newview/llavatarrenderinfoaccountant.cpp
index b8ec1e150b..595a5f0224 100644
--- a/indra/newview/llavatarrenderinfoaccountant.cpp
+++ b/indra/newview/llavatarrenderinfoaccountant.cpp
@@ -38,6 +38,7 @@
#include "httpresponse.h"
#include "llcorehttputil.h"
#include "llappcorehttp.h"
+#include "llavatarrendernotifier.h"
#include "lltimer.h"
#include "llviewercontrol.h"
#include "llviewermenu.h"
@@ -102,7 +103,7 @@ public:
void onCompleted(LLCore::HttpHandle handle,
LLCore::HttpResponse* response)
- {
+ {
LLCore::HttpStatus status = response->getStatus();
if (status)
{
@@ -120,8 +121,8 @@ public:
U32 overlimit = avatar_render_info[KEY_OVER_COMPLEXITY_LIMIT].asInteger();
LL_DEBUGS("AvatarRenderInfo") << "complexity limit: "<<reporting<<" reporting, "<<overlimit<<" over limit"<<LL_ENDL;
- //@TODO - at this point, pass reporting and overlimit to something
- // that remembers them and when they change displays a message
+
+ LLAvatarRenderNotifier::getInstance()->updateNotificationRegion(reporting, overlimit);
}
if (avatar_render_info.has(KEY_AGENTS))