From 94f430156adbc1d228d387319070088579163646 Mon Sep 17 00:00:00 2001 From: prep <prep@lindenlab.com> Date: Thu, 27 Oct 2011 17:45:31 -0400 Subject: [PATCH] Calls into pathing lib --- indra/newview/llviewermenufile.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index ec4562d31a6..83596678219 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; } }; -- GitLab