diff options
Diffstat (limited to 'linden/indra/newview/llhudtext.cpp')
-rw-r--r-- | linden/indra/newview/llhudtext.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llhudtext.cpp b/linden/indra/newview/llhudtext.cpp index 740cce0..fce52f1 100644 --- a/linden/indra/newview/llhudtext.cpp +++ b/linden/indra/newview/llhudtext.cpp | |||
@@ -93,7 +93,8 @@ LLHUDText::LLHUDText(const U8 type) : | |||
93 | mOffsetY(0), | 93 | mOffsetY(0), |
94 | mTextAlignment(ALIGN_TEXT_CENTER), | 94 | mTextAlignment(ALIGN_TEXT_CENTER), |
95 | mVertAlignment(ALIGN_VERT_CENTER), | 95 | mVertAlignment(ALIGN_VERT_CENTER), |
96 | mLOD(0) | 96 | mLOD(0), |
97 | mHidden(FALSE) | ||
97 | { | 98 | { |
98 | mColor = LLColor4(1.f, 1.f, 1.f, 1.f); | 99 | mColor = LLColor4(1.f, 1.f, 1.f, 1.f); |
99 | mDoFade = TRUE; | 100 | mDoFade = TRUE; |
@@ -133,7 +134,7 @@ void LLHUDText::renderForSelect() | |||
133 | 134 | ||
134 | void LLHUDText::renderText(BOOL for_select) | 135 | void LLHUDText::renderText(BOOL for_select) |
135 | { | 136 | { |
136 | if (!mVisible) | 137 | if (!mVisible || mHidden) |
137 | { | 138 | { |
138 | return; | 139 | return; |
139 | } | 140 | } |