diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-01-24 17:52:31 -0800 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-01-24 17:52:31 -0800 |
commit | 815afaad1b9e69ef599690be9831f200d7fbd9c1 (patch) | |
tree | 5bc50b45ca654873b1597dd064f2dcbfeaea61ac /indra/newview/llnavmeshstation.cpp | |
parent | 09d7395c681fc7bfee0774e0b0fa9238100df3f2 (diff) |
Putting back in the code to update the status message on the pathfinding console floater after the navmesh data has been received.
Diffstat (limited to 'indra/newview/llnavmeshstation.cpp')
-rw-r--r-- | indra/newview/llnavmeshstation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 "<<llendl; + pObserver->getPathfindingConsole()->setHasNoNavMesh(); } } } |