diff options
author | RunitaiLinden <davep@lindenlab.com> | 2024-02-08 15:07:54 -0600 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2024-02-08 15:07:54 -0600 |
commit | a7310ae7417b2f6e7013762a1cfe3211a163a8d7 (patch) | |
tree | a47289c7155a57112f06e841d98e24246b966d1e /indra/newview/llheroprobemanager.cpp | |
parent | 602be267ed55dc7cb3725bff1510d59bec950d39 (diff) |
#671 Nudge RenderMirrors and clear shader cache as needed based on SimulatorFeatures
Diffstat (limited to 'indra/newview/llheroprobemanager.cpp')
-rw-r--r-- | indra/newview/llheroprobemanager.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llheroprobemanager.cpp b/indra/newview/llheroprobemanager.cpp index c66054f618..2a81919856 100644 --- a/indra/newview/llheroprobemanager.cpp +++ b/indra/newview/llheroprobemanager.cpp @@ -72,18 +72,6 @@ void LLHeroProbeManager::update() return; } - // This should be moved elsewhere. - LLSD features; - gAgent.getRegion()->getSimulatorFeatures(features); - if (mHasMirrors != features.has("MirrorsEnabled")) - { - mHasMirrors = features.has("MirrorsEnabled"); - LLViewerShaderMgr::instance()->setShaders(); - } - - if (!mHasMirrors) - return; - LL_PROFILE_ZONE_SCOPED_CATEGORY_DISPLAY; llassert(!gCubeSnapshot); // assert a snapshot is not in progress if (LLAppViewer::instance()->logoutRequestSent()) |