diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-05-09 21:53:05 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-05-09 21:53:05 +0300 |
commit | 8fb7dae44b7bbe3e21edf7a4af53ece170437734 (patch) | |
tree | 2c3ce9c6c62129876aa06573a7fd8199c86162f8 | |
parent | 84a122db824fb5a1195ab316c2456ee3fcffc672 (diff) |
#4046 Fix hud vs inworld text color mismatch
This reverts commit e2cf375179b807b847414206bf79617e4e9889ae.
Commit e9889ae originaly was meant to fix color mimatch between text and
face, but looks like it is no longer needed and instead adds mismatch
between inworld and hud.
-rw-r--r-- | indra/newview/llhudtext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llhudtext.cpp b/indra/newview/llhudtext.cpp index fd0d8b696f..c092b4c91a 100644 --- a/indra/newview/llhudtext.cpp +++ b/indra/newview/llhudtext.cpp @@ -225,10 +225,6 @@ void LLHUDText::renderText() } text_color = segment_iter->mColor; - if (mOnHUDAttachment) - { - text_color = linearColor4(text_color); - } text_color.mV[VALPHA] *= alpha_factor; hud_render_text(segment_iter->getText(), render_position, *fontp, style, shadow, x_offset, y_offset, text_color, mOnHUDAttachment); |