From 8fb7dae44b7bbe3e21edf7a4af53ece170437734 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 9 May 2025 21:53:05 +0300 Subject: #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. --- indra/newview/llhudtext.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'indra/newview/llhudtext.cpp') 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); -- cgit v1.2.3