From 666bd487bd8248bd05c87a437c06e18ed89b1153 Mon Sep 17 00:00:00 2001 From: prep <prep@lindenlab.com> Date: Mon, 13 Feb 2012 16:47:43 -0500 Subject: Disabled the ability to query neighboring regions for their navmeshes. We'll introduce a checkbox to the pathfinding floater and enable the code. --- indra/newview/llfloaterpathfindingconsole.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index ca39463b24..282cab6df5 100644 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -231,11 +231,11 @@ void LLFloaterPathfindingConsole::onOpen(const LLSD& pKey) LLViewerRegion* pCurrentRegion = gAgent.getRegion(); std::vector<LLViewerRegion*> regions; regions.push_back( pCurrentRegion ); - pCurrentRegion->getNeighboringRegions( regions ); + //pCurrentRegion->getNeighboringRegions( regions ); std::vector<int> shift; shift.push_back( CURRENT_REGION ); - pCurrentRegion->getNeighboringRegionsStatus( shift ); + //pCurrentRegion->getNeighboringRegionsStatus( shift ); //If the navmesh shift ops and the total region counts do not match - use the current region, only. if ( shift.size() != regions.size() ) -- cgit v1.2.3