summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwindlight.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-04-13 22:49:57 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-04-13 22:49:57 +0300
commit085506a82cb4a2ba491a388623599e67b6a33422 (patch)
treedc6b56e4b93e1afd117a577356b60c93134feb75 /indra/newview/llfloaterwindlight.cpp
parent19f356202a9516664c1cacb9b50e9b6e1e072375 (diff)
STORM-1134 FIXED Draw Classic Clouds cannot be disabled.
Another merge artifact.
Diffstat (limited to 'indra/newview/llfloaterwindlight.cpp')
-rw-r--r--indra/newview/llfloaterwindlight.cpp2
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, &param_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);