summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-05-09 18:12:52 -0400
committerGitHub <noreply@github.com>2025-05-09 18:12:52 -0400
commit4b72e71f239459ffab004f9e7f3999ea055ebd6b (patch)
tree2c3ce9c6c62129876aa06573a7fd8199c86162f8
parent84a122db824fb5a1195ab316c2456ee3fcffc672 (diff)
parent8fb7dae44b7bbe3e21edf7a4af53ece170437734 (diff)
Merge pull request #4053 from secondlife/andreyk/viewer_4046
#4046 Fix hud vs inworld text color mismatch
-rw-r--r--indra/newview/llhudtext.cpp4
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);