From 815afaad1b9e69ef599690be9831f200d7fbd9c1 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Tue, 24 Jan 2012 17:52:31 -0800 Subject: Putting back in the code to update the status message on the pathfinding console floater after the navmesh data has been received. --- indra/newview/llnavmeshstation.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llnavmeshstation.cpp') diff --git a/indra/newview/llnavmeshstation.cpp b/indra/newview/llnavmeshstation.cpp index 6f6ebc184a..90ae38b715 100644 --- a/indra/newview/llnavmeshstation.cpp +++ b/indra/newview/llnavmeshstation.cpp @@ -31,6 +31,8 @@ #include "llagent.h" #include "llviewerregion.h" #include "llsdutil.h" +#include "llfloaterpathfindingconsole.h" + //=============================================================================== LLNavMeshStation::LLNavMeshStation() { @@ -69,10 +71,12 @@ public: { const LLSD::Binary& stuff = content["navmesh_data"].asBinary(); LLPathingLib::getInstance()->extractNavMeshSrcFromLLSD( stuff, mDir ); + pObserver->getPathfindingConsole()->setHasNavMeshReceived(); } else { llwarns<<"no mesh data "<getPathfindingConsole()->setHasNoNavMesh(); } } } -- cgit v1.2.3