diff options
Diffstat (limited to 'indra')
-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; } }; |