diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index ec4562d31a6694e0fbe8dbd24ea28406af097c88..835966782193e91fbf5c0039b0f34abd72921c98 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;
 	}
 };