summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@lindenlab.com>2010-03-19 09:46:24 -0700
committerCallum Prentice <callum@lindenlab.com>2010-03-19 09:46:24 -0700
commit40e04fdb3b416a686c66989ee5d44c5eaf97b9fd (patch)
tree537b95c75bdb4a96a9f663895f89cb73f54c8f67 /indra/newview/llviewertexture.cpp
parent70df3c1fa72ae8ecddf144452b4fe032ad48182e (diff)
parent1a28e325c4d148d2322bc9becb672abf99315a96 (diff)
Merge with tip
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)