diff options
author | James Cook <james@lindenlab.com> | 2010-04-22 14:13:45 -0700 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-04-22 14:13:45 -0700 |
commit | 98f5fc5ff006a82cacde47de0cbb564b6e703597 (patch) | |
tree | 13866bdd70c585c500fbe5c99699c48770ca4519 /indra/llmessage/llavatarnamecache.h | |
parent | 61d79980d888a7bbac96df9955582f835b169a97 (diff) |
DEV-47529 Turn off display names if no capability from simulator, and
Display name update broadcasts entire new name record to nearby viewers
Display name update directly inserts new name into sim cache
indra.xml has display_names_enabled setting to control cap
Synchronized viewer and server versions of avatar name cache
Reviewed with Ambroff
Diffstat (limited to 'indra/llmessage/llavatarnamecache.h')
-rw-r--r-- | indra/llmessage/llavatarnamecache.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/indra/llmessage/llavatarnamecache.h b/indra/llmessage/llavatarnamecache.h index 4aabacd1f3..68a6c28b7b 100644 --- a/indra/llmessage/llavatarnamecache.h +++ b/indra/llmessage/llavatarnamecache.h @@ -42,21 +42,16 @@ class LLUUID; namespace LLAvatarNameCache { - // On the viewer, name cache starts in a non-running state until we - // know if we have the name lookup capability for the agent's region. - // In that state it buffers requests for later. - void initClass(bool running); + void initClass(); void cleanupClass(); void importFile(std::istream& istr); void exportFile(std::ostream& ostr); // On the viewer, usually a simulator capabilitity + // If empty, name cache will fall back to using legacy name + // lookup system void setNameLookupURL(const std::string& name_lookup_url); - - // Once we know if the lookup service is available we can start - // requesting names. - void setRunning(bool running); // Periodically makes a batch request for display names not already in // cache. Call once per frame. |