summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprep <none@none>2012-02-03 16:17:33 -0500
committerprep <none@none>2012-02-03 16:17:33 -0500
commiteba912d0ff28b312c59054ef06665da967998540 (patch)
tree99d09e8f2c1146e4050ac5dff45c2f6df31682aa
parentfe2b04119546a4f2c6ea9faccc6208aba0488bcc (diff)
Cleanup residuals before any new regions are loaded.
-rw-r--r--indra/newview/llfloaterpathfindingsetup.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindingsetup.cpp b/indra/newview/llfloaterpathfindingsetup.cpp
index 3c02d2d237..dc8e96eb53 100644
--- a/indra/newview/llfloaterpathfindingsetup.cpp
+++ b/indra/newview/llfloaterpathfindingsetup.cpp
@@ -372,7 +372,9 @@ void LLFloaterPathfindingSetup::onOpen(const LLSD& pKey)
llwarns <<"Errror: cannout find pathing library implementation."<<llendl;
}
else
- {
+ {
+ LLPathingLib::getInstance()->cleanupResidual();
+
mCurrentMDO = 0;
mNavMeshCnt = 0;