diff options
author | prep <prep@lindenlab.com> | 2011-11-17 13:32:04 -0500 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2011-11-17 13:32:04 -0500 |
commit | 378c076d1df5d911e07959638fbd61a9094384d2 (patch) | |
tree | d0e6f8868cc78539b05847d089200c2da68d4746 /indra/newview/llviewermenufile.cpp | |
parent | 9f996fdc5684a3e55c9f86508979ad943e2eaded (diff) |
WIP: navmesh station posts to a url, responder receives llsd and then has the llpathing library extract and render the navmesh (if desired).
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r-- | indra/newview/llviewermenufile.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index 5a496c76f0..2c826788a2 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -145,8 +145,15 @@ class LLPathingTools : public view_listener_t, LLNavMeshDownloadObserver bool handleEvent(const LLSD& userdata)
{
//make sure we have a pathing system
- LLPathingLib::initSystem();
-
+ if ( !LLPathingLib::getInstance() )
+ {
+ LLPathingLib::initSystem();
+ }
+ //prep# test remove
+ //LLSD content;
+ //LLPathingLib::getInstance()->extractNavMeshSrcFromLLSD( content );
+ //return true;
+ //prep# end test
if ( LLPathingLib::getInstance() == NULL )
{
llinfos<<"No implementation of pathing library."<<llendl;
|