summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2020-02-03 15:17:51 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-02-03 15:17:51 +0200
commite58b5263598368b6dec4a836c72c69b50d701911 (patch)
treed454f4ed2089cef10d6033f3780476b146e3dd7e /indra/newview/llstartup.cpp
parent95af08341c5b20e7faeb58a4d39fae5d8b25fcee (diff)
parenta52ef7ad60c8821fcb412988d838b58c0414ac8f (diff)
Merge branch 'DRTVWR-500' into DRTVWR-501
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 008dfe2a45..f8745fe85d 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2714,6 +2714,15 @@ std::string& LLStartUp::getInitialOutfitName()
return sInitialOutfit;
}
+std::string LLStartUp::getUserId()
+{
+ if (gUserCredential.isNull())
+ {
+ return "";
+ }
+ return gUserCredential->userID();
+}
+
// Loads a bitmap to display during load
void init_start_screen(S32 location_id)
{