diff options
| author | niel@mint-32 <niel@mint-32> | 2013-11-20 23:48:59 +0000 |
|---|---|---|
| committer | niel@mint-32 <niel@mint-32> | 2013-11-20 23:48:59 +0000 |
| commit | afcd1f929638b034ea2c9fa33e6369c952b3b016 (patch) | |
| tree | 746c2cfee1406f3397a16d4ca4a0a4a5c856696b /indra/newview/llfloaterpathfindingconsole.cpp | |
| parent | 7f39d0472e1f0d0e929d4af6b2dadf472173f022 (diff) | |
| parent | fcc885d4fc5ef63dad33e89a9324edc39d466d37 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
| -rwxr-xr-x | indra/newview/llfloaterpathfindingconsole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index 298454724b..161259d049 100755 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -34,11 +34,11 @@ #include <boost/signals2.hpp> +#include "llagent.h" #include "llbutton.h" #include "llcheckboxctrl.h" #include "llcombobox.h" #include "llcontrol.h" -#include "llenvmanager.h" #include "llfloaterpathfindingcharacters.h" #include "llfloaterpathfindinglinksets.h" #include "llfloaterreg.h" @@ -224,7 +224,7 @@ void LLFloaterPathfindingConsole::onOpen(const LLSD& pKey) if (!mRegionBoundarySlot.connected()) { - mRegionBoundarySlot = LLEnvManagerNew::instance().setRegionChangeCallback(boost::bind(&LLFloaterPathfindingConsole::onRegionBoundaryCross, this)); + mRegionBoundarySlot = gAgent.addRegionChangedCallback(boost::bind(&LLFloaterPathfindingConsole::onRegionBoundaryCross, this)); } if (!mTeleportFailedSlot.connected()) |
