diff options
author | prep <none@none> | 2012-03-02 11:28:49 -0500 |
---|---|---|
committer | prep <none@none> | 2012-03-02 11:28:49 -0500 |
commit | c2a7006413ea5e4a0bf7b8b75fe5afdb51e9a6e5 (patch) | |
tree | 4d22a68d7474823b456dac1f1fe8ed2a447df5f3 | |
parent | 91028d2b3ba7c7bc2f32457f13f7deec06f4586e (diff) |
path-356: purging any data from the pathinglib after a successfull teleport.
-rwxr-xr-x | indra/newview/llagent.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 657e464cbb..1132ee4ea8 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3661,6 +3661,9 @@ void LLAgent::setTeleportState(ETeleportState state) // Let the interested parties know we've teleported. LLViewerParcelMgr::getInstance()->onTeleportFinished(false, getPositionGlobal()); + + //Since we teleported into a new region, we need to cleanup up any navmesh residuals + if ( LLPathingLib::getInstance() ) { LLPathingLib::getInstance()->cleanupResidual(); } break; default: |