summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatereditdaycycle.cpp
diff options
context:
space:
mode:
authorIma Mechanique <ima.mechanique@secondlife.com>2014-02-01 13:07:42 +0000
committerIma Mechanique <ima.mechanique@secondlife.com>2014-02-01 13:07:42 +0000
commitd993d6347a2c9f559d9ee8c5ac8e9292944156f0 (patch)
tree02149e36b1cdbf7016a94af5e55a010b1eaa7bd9 /indra/newview/llfloatereditdaycycle.cpp
parentcec62b7872db7a9ca52e3872b96bf36f6e271f77 (diff)
parent69c32b04cfd52c6fbd34997fa6485a84435743ef (diff)
Merge
Diffstat (limited to 'indra/newview/llfloatereditdaycycle.cpp')
-rwxr-xr-xindra/newview/llfloatereditdaycycle.cpp2
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.