-Moved LLCachedControl stuff to llxui/llcontrol.h to ease usage in other projects.
-Fixed mistakes in LLCachedCOAControl revealed by GCC. Thanks Siana. -LLCacheControl'd stuff related to postprocessing, which I may mess with later. GCC... Sigh.
This commit is contained in:
@@ -294,7 +294,6 @@ void LLHUDText::renderText(BOOL for_select)
|
||||
|
||||
// *TODO: make this a per-text setting
|
||||
static LLCachedControl<LLColor4> background_chat_color("BackgroundChatColor", LLColor4(0,0,0,1.f));
|
||||
//static LLColor4 background_chat_color(0,0,0,1.f);
|
||||
static LLCachedControl<F32> chat_bubble_opacity("ChatBubbleOpacity", .5);
|
||||
LLColor4 bg_color = background_chat_color;
|
||||
bg_color.setAlpha(chat_bubble_opacity * alpha_factor);
|
||||
|
||||
Reference in New Issue
Block a user