SL-18573 Fix for HUD text being wrong color.

master
Dave Parks 2022-11-10 13:54:52 -06:00
parent 70b8e17f17
commit e2cf375179
1 changed files with 4 additions and 0 deletions

View File

@ -224,6 +224,10 @@ 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);