summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2010-12-14 15:56:09 -0800
committerDon Kjer <don@lindenlab.com>2010-12-14 15:56:09 -0800
commit2938086cdc8668913181ae4072866ae2993e0375 (patch)
tree9d5e2376dea94ecbdff5f488b4ef619ef7eb17ef /indra
parent01c13c3b9403991c04166f6ac57c93aaf5f17f83 (diff)
Simple fix for color strength of viewer update goggles.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerobjectlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp
index 285f067b0e..70631f9481 100644
--- a/indra/newview/llviewerobjectlist.cpp
+++ b/indra/newview/llviewerobjectlist.cpp
@@ -586,7 +586,7 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys,
}
#if LL_RECORD_VIEWER_STATS
LLViewerStatsRecorder::instance()->recordObjectUpdateEvent(local_id, update_type, objectp);
- F32 color_strength = llmin((LLViewerStatsRecorder::instance()->getTimeSinceStart() / 1000.0f) + 64.0f, 255.0f);
+ F32 color_strength = llmin(((LLViewerStatsRecorder::instance()->getTimeSinceStart() / 1000.0f) + 128.0f) / 255.0f, 1.0f);
LLColor4 color;
switch (update_type)
{