summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2013-03-22 13:13:09 -0700
committersimon <none@none>2013-03-22 13:13:09 -0700
commitfcf894af255e8b931af09883aa8ee2a900199d39 (patch)
tree08d5cf885498011d65e3962e26a29890047ff96f /indra/newview/llvoavatar.cpp
parentc9bdc734fd9d48de263999226c49b557d5c5af81 (diff)
Lighten imposter avatar colors a bit per feedeback.
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-xindra/newview/llvoavatar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index cce4925e0a..76df6dc0ed 100755
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -8717,7 +8717,8 @@ LLColor4 LLVOAvatar::calcMutedAVColor(F32 value, S32 range_low, S32 range_high)
F32 fractBetween = spectrum - (F32)(spectrum_index_1); // distance between the two indexes (0-1)
LLColor4 new_color = lerp(*spectrum_color[spectrum_index_1], *spectrum_color[spectrum_index_2], fractBetween);
- //new_color.normalize();
+ new_color.normalize();
+ new_color *= 0.9f;
//llinfos << "From value " << std::setprecision(3) << value << " returning color " << new_color
// << " using indexes " << spectrum_index_1 << ", " << spectrum_index_2