Skip to content
Snippets Groups Projects
Commit c2a70064 authored by prep's avatar prep
Browse files

path-356: purging any data from the pathinglib after a successfull teleport.

parent 91028d2b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment