summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-05-12 16:46:26 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-05-12 16:46:26 -0700
commitc3ccbecfdae1df3738775d1165cb3361b4f06d90 (patch)
treeb69e48c4547368320f17dc9916e5f6055904163e /indra/newview/llstartup.cpp
parentd36cffcb7b6b7eaed4e110dd1c92d0e397e7cfe6 (diff)
DEV-50013 Add "Turning off Display Names" preference
reviewed by James
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 9867372001..8f53463269 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -2783,6 +2783,7 @@ void LLStartUp::initNameCache()
// Start cache in not-running state until we figure out if we have
// capabilities for display name lookup
LLAvatarNameCache::initClass(false);
+ LLAvatarNameCache::setUseDisplayNames(gSavedSettings.getBOOL("UseDisplayNames"));
}
void LLStartUp::cleanupNameCache()