summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-01-11 11:25:45 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-01-11 11:25:45 -0800
commit6f6641219ea36ad0b4c3b39d0a35c55b1bf0a2fc (patch)
tree492292919074b62c5385e48c8bad32aa7b7b46c8
parent82295222c478bf6b7b3840a22fc7f30ebcd05fc7 (diff)
Changing the name of the fetch states to be more informative.
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.cpp14
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.h4
2 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp
index 87f667154a..699e105a31 100644
--- a/indra/newview/llfloaterpathfindinglinksets.cpp
+++ b/indra/newview/llfloaterpathfindinglinksets.cpp
@@ -390,8 +390,8 @@ BOOL LLFloaterPathfindingLinksets::isFetchInProgress() const
switch (getFetchState())
{
case kFetchStarting :
- case kFetchInProgress :
- case kFetchInProgress_MultiRequested :
+ case kFetchRequestSent :
+ case kFetchRequestSent_MultiRequested :
case kFetchReceived :
retVal = true;
break;
@@ -420,9 +420,9 @@ void LLFloaterPathfindingLinksets::sendNavmeshDataGetRequest()
{
if (isFetchInProgress())
{
- if (getFetchState() == kFetchInProgress)
+ if (getFetchState() == kFetchRequestSent)
{
- setFetchState(kFetchInProgress_MultiRequested);
+ setFetchState(kFetchRequestSent_MultiRequested);
}
}
else
@@ -441,7 +441,7 @@ void LLFloaterPathfindingLinksets::sendNavmeshDataGetRequest()
}
else
{
- setFetchState(kFetchInProgress);
+ setFetchState(kFetchRequestSent);
LLHTTPClient::get(navmeshDataURL, new NavmeshDataGetResponder(navmeshDataURL, this));
}
}
@@ -581,10 +581,10 @@ void LLFloaterPathfindingLinksets::updateLinksetsStatusMessage()
case kFetchStarting :
statusText = getString("linksets_fetching_starting");
break;
- case kFetchInProgress :
+ case kFetchRequestSent :
statusText = getString("linksets_fetching_inprogress");
break;
- case kFetchInProgress_MultiRequested :
+ case kFetchRequestSent_MultiRequested :
statusText = getString("linksets_fetching_inprogress_multi_request");
break;
case kFetchReceived :
diff --git a/indra/newview/llfloaterpathfindinglinksets.h b/indra/newview/llfloaterpathfindinglinksets.h
index 693721429f..93bc3834a4 100644
--- a/indra/newview/llfloaterpathfindinglinksets.h
+++ b/indra/newview/llfloaterpathfindinglinksets.h
@@ -132,8 +132,8 @@ public:
{
kFetchInitial,
kFetchStarting,
- kFetchInProgress,
- kFetchInProgress_MultiRequested,
+ kFetchRequestSent,
+ kFetchRequestSent_MultiRequested,
kFetchReceived,
kFetchError,
kFetchComplete