diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-04-13 22:49:57 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-04-13 22:49:57 +0300 |
commit | 085506a82cb4a2ba491a388623599e67b6a33422 (patch) | |
tree | dc6b56e4b93e1afd117a577356b60c93134feb75 /indra/newview | |
parent | 19f356202a9516664c1cacb9b50e9b6e1e072375 (diff) |
STORM-1134 FIXED Draw Classic Clouds cannot be disabled.
Another merge artifact.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterwindlight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterwindlight.cpp b/indra/newview/llfloaterwindlight.cpp index 73e237fa5c..34629ec5c4 100644 --- a/indra/newview/llfloaterwindlight.cpp +++ b/indra/newview/llfloaterwindlight.cpp @@ -188,7 +188,7 @@ void LLFloaterWindLight::initCallbacks(void) childSetCommitCallback("WLCloudScrollX", onCloudScrollXMoved, NULL); childSetCommitCallback("WLCloudScrollY", onCloudScrollYMoved, NULL); childSetCommitCallback("WLDistanceMult", onFloatControlMoved, ¶m_mgr->mDistanceMult); - //childSetCommitCallback("DrawClassicClouds", LLSavedSettingsGlue::setBOOL, (void*)&use_classic_clouds); + getChild<LLUICtrl>("DrawClassicClouds")->setCommitCallback(boost::bind(LLSavedSettingsGlue::setBOOL, _1, "SkyUseClassicClouds")); // WL Top childSetAction("WLDayCycleMenuButton", onOpenDayCycle, NULL); |