diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2009-11-03 19:42:52 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2009-11-03 19:42:52 -0700 |
commit | abf77532d8534fe98b8c05ddf049ad429da34992 (patch) | |
tree | c2ff6ab2e598b4700ff16aa0712d0d58fc40aebb /indra/newview/llspatialpartition.cpp | |
parent | 81e719387983990fe0a2a197a6e09059219c119a (diff) |
fix the bug that textuer boost level is mixed with boolean numbers.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 9f317803ce..279e143851 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -2704,7 +2704,7 @@ void renderTexturePriority(LLDrawable* drawable) drawBox(center, size); /*S32 boost = imagep->getBoostLevel(); - if (boost) + if (boost>LLViewerTexture::BOOST_NONE) { F32 t = (F32) boost / (F32) (LLViewerTexture::BOOST_MAX_LEVEL-1); LLVector4 col = lerp(boost_cold, boost_hot, t); |