diff options
author | prep <prep@lindenlab.com> | 2012-02-13 16:47:43 -0500 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2012-02-13 16:47:43 -0500 |
commit | 666bd487bd8248bd05c87a437c06e18ed89b1153 (patch) | |
tree | 46fea2b0ebccfa01e5d28ba093d3e60c25a667de | |
parent | ec335c7007ac05a098fed320fc2bbc650f0268ea (diff) |
Disabled the ability to query neighboring regions for their navmeshes. We'll introduce a checkbox to the pathfinding floater and enable the code.
-rw-r--r-- | indra/newview/llfloaterpathfindingconsole.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() ) |