summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingcharacterlist.cpp
diff options
context:
space:
mode:
authorMatthew Breindel (Falcon) <falcon@lindenlab.com>2012-06-15 00:28:12 +0000
committerMatthew Breindel (Falcon) <falcon@lindenlab.com>2012-06-15 00:28:12 +0000
commite76fe073df81d4fd2b25d09f7c0ccd0566c2e966 (patch)
treeb9270197dc7b0c6bc06f0ea44c991d5cbf9be865 /indra/newview/llpathfindingcharacterlist.cpp
parent8b2ad982d72ade6db7ae45758171fa7b5e30a42a (diff)
parentf6153ab73508ad972827950e0276dfd2a8e79bf1 (diff)
Merge
Diffstat (limited to 'indra/newview/llpathfindingcharacterlist.cpp')
-rw-r--r--indra/newview/llpathfindingcharacterlist.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llpathfindingcharacterlist.cpp b/indra/newview/llpathfindingcharacterlist.cpp
index 15eaac771f..ac1fb15be9 100644
--- a/indra/newview/llpathfindingcharacterlist.cpp
+++ b/indra/newview/llpathfindingcharacterlist.cpp
@@ -47,12 +47,10 @@ LLPathfindingCharacterList::LLPathfindingCharacterList()
LLPathfindingCharacterList::LLPathfindingCharacterList(const LLSD& pCharacterListData)
: LLPathfindingObjectList()
{
- if ( LLPathingLib::getInstance() == NULL )
+ if (LLPathingLib::getInstance() != NULL)
{
- LLPathingLib::initSystem();
+ LLPathingLib::getInstance()->cleanupPhysicsCapsuleRepResiduals( );
}
-
- LLPathingLib::getInstance()->cleanupPhysicsCapsuleRepResiduals( );
parseCharacterListData(pCharacterListData);
}