aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorJacek Antonelli2008-11-25 18:58:24 -0600
committerJacek Antonelli2008-11-25 18:58:24 -0600
commit06352713b3b9de3a9040710577614df95f25457d (patch)
treea1232720432b7469e30d5ab071dcf17a150fa849 /linden/indra
parentAdded "code name" field for grid selections. (diff)
downloadmeta-impy-06352713b3b9de3a9040710577614df95f25457d.zip
meta-impy-06352713b3b9de3a9040710577614df95f25457d.tar.gz
meta-impy-06352713b3b9de3a9040710577614df95f25457d.tar.bz2
meta-impy-06352713b3b9de3a9040710577614df95f25457d.tar.xz
Rearranged grid selectors so main grid is first.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llstartup.cpp2
-rw-r--r--linden/indra/newview/llviewernetwork.cpp10
-rw-r--r--linden/indra/newview/llviewernetwork.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp
index 0978fbb..625b1d8 100644
--- a/linden/indra/newview/llstartup.cpp
+++ b/linden/indra/newview/llstartup.cpp
@@ -2462,7 +2462,7 @@ void login_show()
2462 LLPanelLogin::addServer(LLViewerLogin::getInstance()->getGridLabel(), LLViewerLogin::getInstance()->getGridChoice()); 2462 LLPanelLogin::addServer(LLViewerLogin::getInstance()->getGridLabel(), LLViewerLogin::getInstance()->getGridChoice());
2463 2463
2464 LLViewerLogin* vl = LLViewerLogin::getInstance(); 2464 LLViewerLogin* vl = LLViewerLogin::getInstance();
2465 for(int grid_index = GRID_INFO_ADITI; grid_index < GRID_INFO_OTHER; ++grid_index) 2465 for(int grid_index = GRID_INFO_NONE + 1; grid_index < GRID_INFO_OTHER; ++grid_index)
2466 { 2466 {
2467 LLPanelLogin::addServer(vl->getKnownGridLabel((EGridInfo)grid_index), grid_index); 2467 LLPanelLogin::addServer(vl->getKnownGridLabel((EGridInfo)grid_index), grid_index);
2468 } 2468 }
diff --git a/linden/indra/newview/llviewernetwork.cpp b/linden/indra/newview/llviewernetwork.cpp
index 7fb19af..5b423ff 100644
--- a/linden/indra/newview/llviewernetwork.cpp
+++ b/linden/indra/newview/llviewernetwork.cpp
@@ -47,16 +47,16 @@ struct LLGridData
47static LLGridData gGridInfo[GRID_INFO_COUNT] = 47static LLGridData gGridInfo[GRID_INFO_COUNT] =
48{ 48{
49 { "None", "", "", "", "" }, 49 { "None", "", "", "", "" },
50 { "SL Beta Grid",
51 "Aditi",
52 "util.aditi.lindenlab.com",
53 "https://login.aditi.lindenlab.com/cgi-bin/login.cgi",
54 "http://aditi-secondlife.webdev.lindenlab.com/helpers/" },
55 { "SL Main Grid", 50 { "SL Main Grid",
56 "Agni", 51 "Agni",
57 "util.agni.lindenlab.com", 52 "util.agni.lindenlab.com",
58 "https://login.agni.lindenlab.com/cgi-bin/login.cgi", 53 "https://login.agni.lindenlab.com/cgi-bin/login.cgi",
59 "https://secondlife.com/helpers/" }, 54 "https://secondlife.com/helpers/" },
55 { "SL Beta Grid",
56 "Aditi",
57 "util.aditi.lindenlab.com",
58 "https://login.aditi.lindenlab.com/cgi-bin/login.cgi",
59 "http://aditi-secondlife.webdev.lindenlab.com/helpers/" },
60 { "Local OpenSim", 60 { "Local OpenSim",
61 "", 61 "",
62 "localhost", 62 "localhost",
diff --git a/linden/indra/newview/llviewernetwork.h b/linden/indra/newview/llviewernetwork.h
index 39ac879..970e2ce 100644
--- a/linden/indra/newview/llviewernetwork.h
+++ b/linden/indra/newview/llviewernetwork.h
@@ -38,8 +38,8 @@ class LLHost;
38enum EGridInfo 38enum EGridInfo
39{ 39{
40 GRID_INFO_NONE, 40 GRID_INFO_NONE,
41 GRID_INFO_ADITI,
42 GRID_INFO_AGNI, 41 GRID_INFO_AGNI,
42 GRID_INFO_ADITI,
43 GRID_INFO_LOCAL, 43 GRID_INFO_LOCAL,
44 GRID_INFO_OTHER, // IP address set via command line option 44 GRID_INFO_OTHER, // IP address set via command line option
45 GRID_INFO_COUNT 45 GRID_INFO_COUNT