Skip to content

Commit 2d82fa2

Browse files
committed
viewer#3055 Fix texture fetch being stuck
destroyRawImage is the only function that calls saveRawImage(), not calling it results in fetcher thinking that it still needs data to do the saving and looping back to trying to fetch.
1 parent bedf884 commit 2d82fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/llviewertexture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,8 +1557,8 @@ void LLViewerFetchedTexture::postCreateTexture()
15571557
if (!needsToSaveRawImage())
15581558
{
15591559
mNeedsAux = false;
1560-
destroyRawImage();
15611560
}
1561+
destroyRawImage(); // will save raw image if needed
15621562

15631563
mNeedsCreateTexture = false;
15641564
}

0 commit comments

Comments
 (0)