diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-19 17:41:02 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-19 17:41:02 -0500 |
commit | 250ab43e4e70ccd9218d32c5dcbde35599c9735b (patch) | |
tree | 7556da6f559475774d630f4266de00f602e43f21 /indra/newview/llfloaterpreference.cpp | |
parent | f19f43c74606e1f158cdabe9e783f9c82386b7b7 (diff) |
SH-2571 Add shader driven render for low detail terrain.
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rwxr-xr-x | indra/newview/llfloaterpreference.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 7f6d0155e2..92c4214fdb 100755 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -1039,16 +1039,8 @@ void LLFloaterPreference::refreshEnabledState() BOOL shaders = gGLManager.mGLVersion >= 2.f; - if (shaders) - { - mRadioTerrainDetail->setValue(1); - mRadioTerrainDetail->setEnabled(FALSE); - } - else - { - mRadioTerrainDetail->setEnabled(TRUE); - } - + mRadioTerrainDetail->setEnabled(TRUE); + // WindLight LLCheckBoxCtrl* ctrl_wind_light = getChild<LLCheckBoxCtrl>("WindLightUseAtmosShaders"); |