summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;