diff options
author | James Cook <james@lindenlab.com> | 2010-03-09 15:23:16 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-03-09 15:23:16 -0800 |
commit | 7337b4b05bf2218796742a0ee1ddb0fdf27236c4 (patch) | |
tree | 99d0b69543b1d6db632436465c6ce3585d403df1 /indra/newview/llhudnametag.cpp | |
parent | 717a4800f1ae0ae6ea0bbe9ed0af21c7851f5d0a (diff) |
More harmonization of LLHUDNameTag vs. LLHUDText
Eliminating now-unused code from LLHUDText
Diffstat (limited to 'indra/newview/llhudnametag.cpp')
-rw-r--r-- | indra/newview/llhudnametag.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/indra/newview/llhudnametag.cpp b/indra/newview/llhudnametag.cpp index 5d4c4571d5..7d194cc330 100644 --- a/indra/newview/llhudnametag.cpp +++ b/indra/newview/llhudnametag.cpp @@ -104,7 +104,6 @@ LLHUDNameTag::LLHUDNameTag(const U8 type) mFadeDistance = 8.f; mFadeRange = 4.f; mZCompare = TRUE; - mDropShadow = TRUE; mOffscreen = FALSE; mRadius = 0.1f; LLPointer<LLHUDNameTag> ptr(this); @@ -502,11 +501,7 @@ void LLHUDNameTag::renderText(BOOL for_select) y_offset -= fontp->getLineHeight(); U8 style = segment_iter->mStyle; - LLFontGL::ShadowType shadow = LLFontGL::NO_SHADOW; - if (mDropShadow) - { - shadow = LLFontGL::DROP_SHADOW; - } + LLFontGL::ShadowType shadow = LLFontGL::DROP_SHADOW; F32 x_offset; if (mTextAlignment== ALIGN_TEXT_CENTER) @@ -618,11 +613,6 @@ void LLHUDNameTag::addLabel(const std::string& label_utf8) } } -void LLHUDNameTag::setDropShadow(const BOOL do_shadow) -{ - mDropShadow = do_shadow; -} - void LLHUDNameTag::setZCompare(const BOOL zcompare) { mZCompare = zcompare; |