summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-03-18 22:08:47 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-03-18 22:08:47 -0600
commit7b7114f7ac27b67c6e75d8f1ecc7596bc88c78de (patch)
treebe15a5fecf1614df5d0a6af9fb2a62cf56f10e0f /indra/newview/llviewertexture.cpp
parent0c1ff8e8769a569c2551a2be04a18cc854cfc5d4 (diff)
parent12a86042f726fbc9bba06103ed8c68bf954e6c6a (diff)
Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/
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)