diff options
author | prep <prep@lindenlab.com> | 2011-10-27 17:45:31 -0400 |
---|---|---|
committer | prep <prep@lindenlab.com> | 2011-10-27 17:45:31 -0400 |
commit | 94f430156adbc1d228d387319070088579163646 (patch) | |
tree | 1402d2fa3d792729802d5431afec3c92de022023 /indra/newview | |
parent | 92d6091538559e17f29a36b022ced7d781f469cb (diff) |
Calls into pathing lib
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewermenufile.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index ec4562d31a..8359667821 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -78,6 +78,7 @@ // system libraries #include <boost/tokenizer.hpp> +#include "LLPathingLib.h" class LLBuildNavMesh : public view_listener_t { bool handleEvent(const LLSD& userdata) @@ -92,6 +93,17 @@ class LLFileUploadNavMesh : public view_listener_t bool handleEvent(const LLSD& userdata) { llinfos<<"ok"<<llendl; + LLPathingLib::initSystem(); + if (LLPathingLib::getInstance() == NULL) + { + llinfos<<"ick"<<llendl; + } + else + { + llinfos<<"ok2"<<llendl; + LLPathingLib::getInstance()->testNavMeshGenerationWithLocalAsset(); + } + return true; } }; |