diff options
author | Jonathan Yap <none@none> | 2014-03-06 09:20:54 -0500 |
---|---|---|
committer | Jonathan Yap <none@none> | 2014-03-06 09:20:54 -0500 |
commit | a0f668c0a382ad4bd7a9be703bbcf1edd2bcf460 (patch) | |
tree | 9da9b08465582432d12797951543a30d6c9fc2c1 /indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp | |
parent | 672cc7049777b57a01a61428864ac6e3d10df321 (diff) | |
parent | a5e56067c28298b4df0ef498303f78f67c35782c (diff) |
STORM-68 merge
Diffstat (limited to 'indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp')
-rwxr-xr-x | indra/newview/llmenuoptionpathfindingrebakenavmesh.cpp | 2 |
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()) |