diff options
author | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
commit | a408bac29378072fbf36864164149458c978cfcc (patch) | |
tree | 67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llhudtext.cpp | |
parent | Second Life viewer sources 1.17.0.12 (diff) | |
download | meta-impy-a408bac29378072fbf36864164149458c978cfcc.zip meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2 meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz |
Second Life viewer sources 1.17.1.0
Diffstat (limited to '')
-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 | } |