From 2802475f053e54d047bea870c43dbe3c42d5facd Mon Sep 17 00:00:00 2001 From: minerjr Date: Mon, 24 Mar 2025 07:22:53 -0300 Subject: [PATCH] FIRE-35081 - Fix crash on load Reverted added code for the LLFace::switchTexture to update the texture being passed in to use the existing texture boost and max virtual size as the mTexture[ch] may be NULL or invalid due to being deleted. --- indra/newview/llface.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 5ffcc1a059..50409190eb 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -386,11 +386,6 @@ void LLFace::switchTexture(U32 ch, LLViewerTexture* new_texture) return; } - // [FIRE-35081] Blurry prims not changing with graphics settings, not happening with SL Viewer - // Need to update the new textures to the old textures boost and max virtual size, so they won't - new_texture->setBoostLevel(mTexture[ch]->getBoostLevel()); - new_texture->addTextureStats(mTexture[ch]->getMaxVirtualSize()); - // [FIRE-35081] if (ch == LLRender::DIFFUSE_MAP) { if (getViewerObject())