summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2012-12-07 17:50:37 -0500
committerLogan Dethrow <log@lindenlab.com>2012-12-07 17:50:37 -0500
commitb6a7c8fcfdaf9220accf832a4dc07efcd08c6eeb (patch)
tree621f992abc5e2d0ccc596a824ba70828c463ae87 /indra/newview/llappearancemgr.cpp
parent954200e97f0283a2f16d19601129d64fb16449c2 (diff)
parenta15ec8d014307da35b792659964cd5478d1aafe7 (diff)
Merge in backed out changes.
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 6d67e098a6..06a9892c7e 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -52,7 +52,8 @@
std::string self_av_string()
{
- return gAgentAvatarp->avString();
+ // On logout gAgentAvatarp can already be invalid
+ return isAgentAvatarValid() ? gAgentAvatarp->avString() : "";
}
// RAII thingy to guarantee that a variable gets reset when the Setter