summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingconsole.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-03-07 14:39:27 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-03-07 14:39:27 -0800
commita7944f17bec66e7c0f066ab3b6196cc2233b1ca7 (patch)
tree22171ae658b61fb4d65f0a6899768a8df4091116 /indra/newview/llfloaterpathfindingconsole.cpp
parent94dbe51a5c6fa09989f9e71ee8d84a7207b8acc5 (diff)
PATH-205,PATh-304: Fixing a crash issue with loading multiple navmeshes during the second refresh.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index fe5c6b8d44..6824e629c9 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -613,6 +613,9 @@ void LLFloaterPathfindingConsole::onNavMeshZoneCB(LLPathfindingNavMeshZone::ENav
{
switch (pNavMeshZoneRequestStatus)
{
+ case LLPathfindingNavMeshZone::kNavMeshZoneRequestUnknown :
+ setConsoleState(kConsoleStateUnknown);
+ break;
case LLPathfindingNavMeshZone::kNavMeshZoneRequestStarted :
setConsoleState(kConsoleStateDownloading);
break;
@@ -625,7 +628,6 @@ void LLFloaterPathfindingConsole::onNavMeshZoneCB(LLPathfindingNavMeshZone::ENav
case LLPathfindingNavMeshZone::kNavMeshZoneRequestError :
setConsoleState(kConsoleStateError);
break;
- case LLPathfindingNavMeshZone::kNavMeshZoneRequestUnknown :
default:
setConsoleState(kConsoleStateUnknown);
llassert(0);