diff options
author | Oz Linden <oz@lindenlab.com> | 2014-03-03 17:01:19 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-03-03 17:01:19 -0500 |
commit | fbdbea1b180a8dbee24ec0909979f1a25844b5e0 (patch) | |
tree | 9f15883b61d240c3dfd7b6467f0be693cafd0f83 /indra/newview/llfloatereditdaycycle.cpp | |
parent | bfdd6a689caf04d1cb69d5bf90bef1886f774bd1 (diff) | |
parent | de8fea13627cc5978b8a6135802a52864a11c39a (diff) |
merge changes for 3.7.2-release
Diffstat (limited to 'indra/newview/llfloatereditdaycycle.cpp')
-rwxr-xr-x | indra/newview/llfloatereditdaycycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatereditdaycycle.cpp b/indra/newview/llfloatereditdaycycle.cpp index b63677b258..78e20e3bf0 100755 --- a/indra/newview/llfloatereditdaycycle.cpp +++ b/indra/newview/llfloatereditdaycycle.cpp @@ -145,7 +145,7 @@ void LLFloaterEditDayCycle::initCallbacks(void) // Connect to env manager events. LLEnvManagerNew& env_mgr = LLEnvManagerNew::instance(); env_mgr.setRegionSettingsChangeCallback(boost::bind(&LLFloaterEditDayCycle::onRegionSettingsChange, this)); - env_mgr.setRegionChangeCallback(boost::bind(&LLFloaterEditDayCycle::onRegionChange, this)); + gAgent.addRegionChangedCallback(boost::bind(&LLFloaterEditDayCycle::onRegionChange, this)); env_mgr.setRegionSettingsAppliedCallback(boost::bind(&LLFloaterEditDayCycle::onRegionSettingsApplied, this, _1)); // Connect to day cycle manager events. |