summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-05 18:07:20 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-05 18:07:20 -0700
commit8c5a7a9c5d9ff391ae367a66ce88930d5121723a (patch)
treeeedfbfeb8cb1864aa0a40ee9e672ea8e081ac7fe /indra
parent9abc73c4556c1f7d2e0a04dc40b52ba7634bb150 (diff)
Removing unneeded code because we have the pathfinding console working to correctly when teleporting or crossing region boundaries.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llagent.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 0102fb8270..3870a3be2e 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -88,7 +88,6 @@
#include "llworld.h"
#include "llworldmap.h"
#include "stringize.h"
-#include "LLPathingLib.h"
using namespace LLVOAvatarDefines;
@@ -3634,9 +3633,6 @@ 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: