summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-09-17 00:51:30 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-09-17 00:59:16 +0300
commit5bb9b6cada31aedfd19b6947ddff0e07dc2b66b7 (patch)
tree397cac23fd17ef33bc5a9f70ca6d8237df7844d1 /indra/newview
parentc0b586a7e101a0f80f9790a786ab8f8a3706ccab (diff)
SL-18065 Viewer tries to get missing texture endlessly
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewertexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index 52294ec487..6c799031b3 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -2060,7 +2060,7 @@ bool LLViewerFetchedTexture::updateFetch()
if (!mIsFetching)
{
- if ((decode_priority > 0) && (mRawDiscardLevel < 0))
+ if ((decode_priority > 0) && (mRawDiscardLevel < 0 || mRawDiscardLevel == INVALID_DISCARD_LEVEL))
{
// We finished but received no data
if (getDiscardLevel() < 0)