diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-01 09:25:16 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-01 09:25:16 -0500 |
commit | 609476e607b18d303afa5f5b5eeabeca84f95d16 (patch) | |
tree | 3059d50ca77c614886160a7333d5674b32670122 /indra/newview/llviewertexturelist.cpp | |
parent | fc7b5549cb6092194d11b8d87600f21992305c1c (diff) |
SL-17484 More unit test pruning. Fix for crash when deleting textures.
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r-- | indra/newview/llviewertexturelist.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index 555355059a..ac036bce31 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -1048,7 +1048,11 @@ F32 LLViewerTextureList::updateImagesFetchTextures(F32 max_time) { iter = mUUIDMap.begin(); } - entries.push_back(iter->second); + + if (iter->second->getGLTexture()) + { + entries.push_back(iter->second); + } ++iter; } } |