diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-05-23 16:11:43 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-05-23 16:11:43 -0500 |
commit | 46e04fe273ce88c52c08a6417a01ec89bd4e89e9 (patch) | |
tree | 8ec17855a3c41670879537bbdbf00db6fe4c6172 /indra/newview/llreflectionmapmanager.cpp | |
parent | 27e4b02b58a12825bc8a1faca885522b1b544cdb (diff) |
DRTVWR-559 Remove RenderReflectionProbeCount (which is bugged) and lean on RenderReflectionProbeLevel for preferences (which works).
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
-rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index 2235453e47..5dc93dbeb8 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -1205,9 +1205,7 @@ void LLReflectionMapManager::renderDebug() void LLReflectionMapManager::initReflectionMaps() { - static LLCachedControl<S32> probe_count(gSavedSettings, "RenderReflectionProbeCount", LL_MAX_REFLECTION_PROBE_COUNT); - - U32 count = llclamp((S32) probe_count, 1, LL_MAX_REFLECTION_PROBE_COUNT); + U32 count = LL_MAX_REFLECTION_PROBE_COUNT; if (mTexture.isNull() || mReflectionProbeCount != count || mReset) { |