summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingconsole.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-01-07 13:44:22 -0500
committerOz Linden <oz@lindenlab.com>2014-01-07 13:44:22 -0500
commita25bcb8523db08877c47fdbd834589ebbe45ff82 (patch)
treed0b6eb160a82aff8564522d88f4ead80704533c9 /indra/newview/llfloaterpathfindingconsole.cpp
parent94ac0ffdc30842834bb8b0b6e229b21c7707c026 (diff)
parent24c5ac7417f8b32c39dd5defec21845bd03786c4 (diff)
merge changes for storm-1980
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rwxr-xr-xindra/newview/llfloaterpathfindingconsole.cpp4
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())