summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-10-19 18:06:32 -0500
committerDave Parks <davep@lindenlab.com>2011-10-19 18:06:32 -0500
commit7fef84ca755b3f07eb9841fc1b904b185402317e (patch)
treec340550657d3fa0bd93072fc446ea99b9e9fb103 /indra/newview
parent250ab43e4e70ccd9218d32c5dcbde35599c9735b (diff)
SH-2571 Make low detail terrain stick when choosing "low" from preferences.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewercontrol.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index 5ab2877869..d9210877dd 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -118,12 +118,6 @@ static bool handleSetShaderChanged(const LLSD& newvalue)
gBumpImageList.destroyGL();
gBumpImageList.restoreGL();
- // Changing shader also changes the terrain detail to high, reflect that change here
- if (newvalue.asBoolean())
- {
- // shaders enabled, set terrain detail to high
- gSavedSettings.setS32("RenderTerrainDetail", 1);
- }
// else, leave terrain detail as is
LLViewerShaderMgr::instance()->setShaders();
return true;