summaryrefslogtreecommitdiff
path: root/indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-11-19 15:51:27 -0500
committerOz Linden <oz@lindenlab.com>2013-11-19 15:51:27 -0500
commitfcc885d4fc5ef63dad33e89a9324edc39d466d37 (patch)
tree563fe90a79ea446a5e7b8d0b1a7d6fc66b1fa557 /indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp
parenta5db4f6c3d1f6804c20b3095b39203887728d3a6 (diff)
replace uses of LLEnvManagerNew::setRegionChangeCallback with LLAgent::addRegionChangedCallback
Diffstat (limited to 'indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp')
-rwxr-xr-xindra/newview/llmenuoptionpathfindingrebakenavmesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp b/indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp
index a567d1217a..8879cfd7fb 100755
--- a/indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp
+++ b/indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp
@@ -79,7 +79,7 @@ void LLMenuOptionPathfindingRebakeNavmesh::initialize()
if ( !mRegionCrossingSlot.connected() )
{
- mRegionCrossingSlot = LLEnvManagerNew::getInstance()->setRegionChangeCallback(boost::bind(&LLMenuOptionPathfindingRebakeNavmesh::handleRegionBoundaryCrossed, this));
+ mRegionCrossingSlot = gAgent.addRegionChangedCallback(boost::bind(&LLMenuOptionPathfindingRebakeNavmesh::handleRegionBoundaryCrossed, this));
}
if (!mAgentStateSlot.connected())