summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-03-18 22:07:25 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-03-18 22:07:25 -0600
commit12a86042f726fbc9bba06103ed8c68bf954e6c6a (patch)
tree9120f56e3c2760ede88d605d1a7db0515bf289f7 /indra/newview/llviewertexture.cpp
parent1900b5f4100a94cf89181a077102f248f9dc80fe (diff)
fix for EXT-6465: sometimes the texture fetching queue is never empty.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r--indra/newview/llviewertexture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index dbbf0219c9..9fbffdac35 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -1546,8 +1546,7 @@ F32 LLViewerFetchedTexture::calcDecodePriority()
}
else
{
- // Leave the priority as-is
- return mDecodePriority;
+ priority = -1.f; //stop fetching
}
}
else if (cur_discard < 0)