summaryrefslogtreecommitdiff
path: root/indra/newview/lltextureview.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2009-11-03 19:42:52 -0700
committerXiaohong Bao <bao@lindenlab.com>2009-11-03 19:42:52 -0700
commitabf77532d8534fe98b8c05ddf049ad429da34992 (patch)
treec2ff6ab2e598b4700ff16aa0712d0d58fc40aebb /indra/newview/lltextureview.cpp
parent81e719387983990fe0a2a197a6e09059219c119a (diff)
fix the bug that textuer boost level is mixed with boolean numbers.
Diffstat (limited to 'indra/newview/lltextureview.cpp')
-rw-r--r--indra/newview/lltextureview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp
index ea675c5a6e..dafa4f25ca 100644
--- a/indra/newview/lltextureview.cpp
+++ b/indra/newview/lltextureview.cpp
@@ -168,7 +168,7 @@ void LLTextureBar::draw()
{
color = LLColor4::green4;
}
- else if (mImagep->getBoostLevel())
+ else if (mImagep->getBoostLevel() > LLViewerTexture::BOOST_NONE)
{
color = LLColor4::magenta;
}