From 1598724b462b062670a94353e397b092c1dbb598 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Fri, 16 Dec 2011 18:11:43 -0800 Subject: Moving the call to initialize the LLPathingLib instance to the pathfinding console floater onOpen() callback. --- indra/newview/llviewermenufile.cpp | 44 -------------------------------------- 1 file changed, 44 deletions(-) (limited to 'indra/newview/llviewermenufile.cpp') diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index b5df16566a..99d08087d4 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -74,52 +74,10 @@ #include "lluuid.h" #include "llvorbisencode.h" #include "message.h" -#include "llpathinglib.h" -#include "llnavmeshstation.h" // system libraries #include -//prep# -class LLPathingTools : public view_listener_t, LLNavMeshDownloadObserver -{ - - bool handleEvent(const LLSD& userdata) - { - //make sure we have a pathing system - 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."<getCapability( capability ); - if ( !url.empty() ) - { - llinfos<<"Region has required caps of type ["<setNavMeshDownloadURL( url ); - LLNavMeshStation::getInstance()->downloadNavMeshSrc( getObserverHandle() ); - } - else - { - llinfos<<"Region has does not required caps of type ["<