diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-06-11 16:40:53 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-06-11 16:40:53 -0700 |
commit | b912c27bf44a45e607adc3b5c94d3fd8a9bbf53e (patch) | |
tree | 6ac533504cc8ff081f6c440a30028267dbbc71d3 /indra/newview/llpathfindingcharacterlist.cpp | |
parent | a087c4dfbb0823c66f21e3587de9d57937333e32 (diff) |
PATH-711: Implementing Leo's changes for the pathfinding console.
Diffstat (limited to 'indra/newview/llpathfindingcharacterlist.cpp')
-rw-r--r-- | indra/newview/llpathfindingcharacterlist.cpp | 6 |
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); } |