aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpaneldisplay.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-02-18 22:59:49 -0600
committerJacek Antonelli2010-02-18 22:59:49 -0600
commit3b26508428539bf65629b3f7b1c9844fec0b6d23 (patch)
treee4d204a971436d08f286ff2d9ba8aed2e2a393f8 /linden/indra/newview/llpaneldisplay.cpp
parentFixed #184: Previewing notecards resets camera. (diff)
downloadmeta-impy-3b26508428539bf65629b3f7b1c9844fec0b6d23.zip
meta-impy-3b26508428539bf65629b3f7b1c9844fec0b6d23.tar.gz
meta-impy-3b26508428539bf65629b3f7b1c9844fec0b6d23.tar.bz2
meta-impy-3b26508428539bf65629b3f7b1c9844fec0b6d23.tar.xz
Fixed #197: Windlight toolbar can't be hidden.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpaneldisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llpaneldisplay.cpp b/linden/indra/newview/llpaneldisplay.cpp
index 7d88cf9..cbf6052 100644
--- a/linden/indra/newview/llpaneldisplay.cpp
+++ b/linden/indra/newview/llpaneldisplay.cpp
@@ -411,6 +411,8 @@ void LLPanelDisplay::refresh()
411 mLightingDetail = gSavedSettings.getS32("RenderLightingDetail"); 411 mLightingDetail = gSavedSettings.getS32("RenderLightingDetail");
412 mTerrainDetail = gSavedSettings.getS32("RenderTerrainDetail"); 412 mTerrainDetail = gSavedSettings.getS32("RenderTerrainDetail");
413 413
414 mWLControl = gSavedSettings.getBOOL("EnableWindlightRemote");
415
414 // slider text boxes 416 // slider text boxes
415 updateSliderText(mCtrlLODFactor, mLODFactorText); 417 updateSliderText(mCtrlLODFactor, mLODFactorText);
416 updateSliderText(mCtrlFlexFactor, mFlexFactorText); 418 updateSliderText(mCtrlFlexFactor, mFlexFactorText);
@@ -717,8 +719,6 @@ void LLPanelDisplay::apply()
717 { 719 {
718 applyWindowSize(); 720 applyWindowSize();
719 } 721 }
720
721 gSavedSettings.setBOOL("EnableWindlightRemote", childGetValue("toggle_windlight_control").asBoolean());
722} 722}
723 723
724void LLPanelDisplay::onChangeQuality(LLUICtrl *ctrl, void *data) 724void LLPanelDisplay::onChangeQuality(LLUICtrl *ctrl, void *data)