summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-10-28 19:05:15 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-10-28 19:05:15 +0200
commitaf3d4fdf4ef8b3b5aa04124daac24a226b8bf02b (patch)
treed005a93bdf55e94037318f27153fcf263e5d4a90 /indra
parent5a6ef4e85ee08ce0beb05cd489ed525c0732799f (diff)
SL-14167 FIXED Viewer substitutes agni start locations when logging in to 'My last location' on non-agni grids
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanellogin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp
index da21d5e69a..98fe286d16 100644
--- a/indra/newview/llpanellogin.cpp
+++ b/indra/newview/llpanellogin.cpp
@@ -1325,8 +1325,10 @@ void LLPanelLogin::onSelectServer()
switch (index)
{
case 0: // last location
+ LLStartUp::setStartSLURL(LLSLURL(LLSLURL::SIM_LOCATION_LAST));
+ break;
case 1: // home location
- // do nothing - these are grid-agnostic locations
+ LLStartUp::setStartSLURL(LLSLURL(LLSLURL::SIM_LOCATION_HOME));
break;
default: