diff options
| author | Ima Mechanique <ima.mechanique@secondlife.com> | 2014-02-01 13:07:42 +0000 |
|---|---|---|
| committer | Ima Mechanique <ima.mechanique@secondlife.com> | 2014-02-01 13:07:42 +0000 |
| commit | d993d6347a2c9f559d9ee8c5ac8e9292944156f0 (patch) | |
| tree | 02149e36b1cdbf7016a94af5e55a010b1eaa7bd9 /indra/newview/llfloaterpathfindingobjects.cpp | |
| parent | cec62b7872db7a9ca52e3872b96bf36f6e271f77 (diff) | |
| parent | 69c32b04cfd52c6fbd34997fa6485a84435743ef (diff) | |
Merge
Diffstat (limited to 'indra/newview/llfloaterpathfindingobjects.cpp')
| -rwxr-xr-x | indra/newview/llfloaterpathfindingobjects.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloaterpathfindingobjects.cpp b/indra/newview/llfloaterpathfindingobjects.cpp index 20c1215bcb..d72ee073e1 100755 --- a/indra/newview/llfloaterpathfindingobjects.cpp +++ b/indra/newview/llfloaterpathfindingobjects.cpp @@ -41,7 +41,6 @@ #include "llavatarnamecache.h" #include "llbutton.h" #include "llcheckboxctrl.h" -#include "llenvmanager.h" #include "llfloater.h" #include "llfontgl.h" #include "llnotifications.h" @@ -85,7 +84,7 @@ void LLFloaterPathfindingObjects::onOpen(const LLSD &pKey) if (!mRegionBoundaryCrossingSlot.connected()) { - mRegionBoundaryCrossingSlot = LLEnvManagerNew::getInstance()->setRegionChangeCallback(boost::bind(&LLFloaterPathfindingObjects::onRegionBoundaryCrossed, this)); + mRegionBoundaryCrossingSlot = gAgent.addRegionChangedCallback(boost::bind(&LLFloaterPathfindingObjects::onRegionBoundaryCrossed, this)); } if (!mGodLevelChangeSlot.connected()) |
