summaryrefslogtreecommitdiff
path: root/indra/newview/llheroprobemanager.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2024-02-08 15:07:54 -0600
committerRunitaiLinden <davep@lindenlab.com>2024-02-08 15:07:54 -0600
commita7310ae7417b2f6e7013762a1cfe3211a163a8d7 (patch)
treea47289c7155a57112f06e841d98e24246b966d1e /indra/newview/llheroprobemanager.cpp
parent602be267ed55dc7cb3725bff1510d59bec950d39 (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.cpp12
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())