diff options
author | Oz Linden <oz@lindenlab.com> | 2014-01-07 13:44:22 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-01-07 13:44:22 -0500 |
commit | a25bcb8523db08877c47fdbd834589ebbe45ff82 (patch) | |
tree | d0b6eb160a82aff8564522d88f4ead80704533c9 /indra/newview/llfloaterpathfindingconsole.cpp | |
parent | 94ac0ffdc30842834bb8b0b6e229b21c7707c026 (diff) | |
parent | 24c5ac7417f8b32c39dd5defec21845bd03786c4 (diff) |
merge changes for storm-1980
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()) |