diff --git a/indra/newview/llheroprobemanager.cpp b/indra/newview/llheroprobemanager.cpp index 6589f18410..477a348c72 100644 --- a/indra/newview/llheroprobemanager.cpp +++ b/indra/newview/llheroprobemanager.cpp @@ -60,7 +60,7 @@ static void touch_default_probe(LLReflectionMap* probe) } } -LLHeroProbeManager::LLHeroProbeManager() +LLHeroProbeManager::LLHeroProbeManager():mMirrorNormal(0,0,1) // [FIRE-35007][#3331] mirrors not working after relog. make sure the mirror normal is not zero length { } @@ -84,12 +84,14 @@ void LLHeroProbeManager::update() // For some reason clearing shaders will cause mirrors to actually work. // There's likely some deeper state issue that needs to be resolved. // - Geenz 2025-02-25 - if (!mInitialized && LLStartUp::getStartupState() > STATE_PRECACHE) - { - LLViewerShaderMgr::instance()->clearShaderCache(); - LLViewerShaderMgr::instance()->setShaders(); - mInitialized = true; - } + // [FIRE-35007][#3331] mirrors not working after relog. hack no longer needed. + // if (!mInitialized && LLStartUp::getStartupState() > STATE_PRECACHE) + // { + // LLViewerShaderMgr::instance()->clearShaderCache(); + // LLViewerShaderMgr::instance()->setShaders(); + // mInitialized = true; + // } + // LL_PROFILE_ZONE_SCOPED_CATEGORY_DISPLAY; llassert(!gCubeSnapshot); // assert a snapshot is not in progress