summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-09-17 15:33:04 +0300
committerandreykproductengine <akleshchev@productengine.com>2015-09-17 15:33:04 +0300
commitb3ef02541253daf23dfc6aff70f831e91c4371e9 (patch)
treebe01729ef45507fb3386f8e03a6b94e728256a8c /indra/newview/llvoavatar.cpp
parent0e0b5f391640aa586aed290f01ec1e718fce8607 (diff)
MAINT-5570 [QuickGraphics] Visual complexity notifications are confusing.
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index edb447e497..60fd98b3d7 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6457,6 +6457,17 @@ BOOL LLVOAvatar::processFullyLoadedChange(bool loading)
mPreviousFullyLoaded = mFullyLoaded;
mFullyLoadedInitialized = TRUE;
mFullyLoadedFrameCounter++;
+
+ if (changed)
+ {
+ static LLCachedControl<U32> show_my_complexity_changes(gSavedSettings, "ShowMyComplexityChanges", 20);
+
+ if (isSelf() && show_my_complexity_changes)
+ {
+ // to know about outfit switching
+ LLAvatarRenderNotifier::getInstance()->updateNotificationAgent(mVisualComplexity);
+ }
+ }
return changed;
}