From 8c5a7a9c5d9ff391ae367a66ce88930d5121723a Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Thu, 5 Apr 2012 18:07:20 -0700 Subject: Removing unneeded code because we have the pathfinding console working to correctly when teleporting or crossing region boundaries. --- indra/newview/llagent.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'indra') 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: -- cgit v1.2.3