SL-18065 Viewer tries to get missing texture endlessly

master
Andrey Kleshchev 2022-09-17 00:51:30 +03:00
parent c0b586a7e1
commit 5bb9b6cada
1 changed files with 1 additions and 1 deletions

View File

@ -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)