diff options
author | prep <prep@lindenlab.com> | 2012-05-31 16:38:19 -0400 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2012-05-31 16:38:19 -0400 |
commit | ef75a2e07ec4f26c9126c04af1adfbd28d7eaa9b (patch) | |
tree | 9fcf0f9cdf911ff6c86dc48c939131dd701ba49b /indra/newview/llpathfindingcharacterlist.cpp | |
parent | d00192c9cbeaace7c1b7c09bfb86a5b5d8dff458 (diff) |
WIP:Displaying physics capsule for a character - it is currently disabled.
Diffstat (limited to 'indra/newview/llpathfindingcharacterlist.cpp')
-rw-r--r-- | indra/newview/llpathfindingcharacterlist.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpathfindingcharacterlist.cpp b/indra/newview/llpathfindingcharacterlist.cpp index 9b0ed14e35..15eaac771f 100644 --- a/indra/newview/llpathfindingcharacterlist.cpp +++ b/indra/newview/llpathfindingcharacterlist.cpp @@ -33,6 +33,7 @@ #include "llpathfindingobject.h" #include "llpathfindingobjectlist.h" #include "llsd.h" +#include "llpathinglib.h" //--------------------------------------------------------------------------- // LLPathfindingCharacterList @@ -46,6 +47,13 @@ LLPathfindingCharacterList::LLPathfindingCharacterList() LLPathfindingCharacterList::LLPathfindingCharacterList(const LLSD& pCharacterListData) : LLPathfindingObjectList() { + if ( LLPathingLib::getInstance() == NULL ) + { + LLPathingLib::initSystem(); + } + + LLPathingLib::getInstance()->cleanupPhysicsCapsuleRepResiduals( ); + parseCharacterListData(pCharacterListData); } |