From 3ad517c6e20934932af712eec6ac50ee6cd6ac4c Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Wed, 7 Oct 2020 22:24:10 +0300 Subject: SL-14080 Crash in updateTextureVirtualSize LLVOVolume::updateTextures() does not check for null drawable prior to updateTextureVirtualSize --- indra/newview/llvovolume.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 5dd662f03d..641adbd147 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -694,6 +694,11 @@ void LLVOVolume::updateTextureVirtualSize(bool forced) LL_RECORD_BLOCK_TIME(FTM_VOLUME_TEXTURES); // Update the pixel area of all faces + if (mDrawable.isNull()) + { + return; + } + if(!forced) { if(!isVisible()) -- cgit v1.2.3