summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarnamecache.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-10-09 21:53:53 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-10-09 21:53:53 +0300
commitfc63aa74247b9a62871cf2ee929457d68bfdf63d (patch)
tree3b4f7b6fb63fc6fea9032fa2ac781a8164e0185c /indra/llmessage/llavatarnamecache.h
parent1cf3a5c505f1705a9d7169570799bda55f76e675 (diff)
SL-14078 No point in verifying display name cap each frame
Convoluted due to multiple workarounds. Might be a good idea to spend some time refactoring this, but for now just trottled checks.
Diffstat (limited to 'indra/llmessage/llavatarnamecache.h')
-rw-r--r--indra/llmessage/llavatarnamecache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmessage/llavatarnamecache.h b/indra/llmessage/llavatarnamecache.h
index 549d1703fa..04400490c7 100644
--- a/indra/llmessage/llavatarnamecache.h
+++ b/indra/llmessage/llavatarnamecache.h
@@ -62,6 +62,8 @@ public:
// cache. Called once per frame.
void idle();
+ static bool hasWork();
+
// If name is in cache, returns true and fills in provided LLAvatarName
// otherwise returns false.
static bool get(const LLUUID& agent_id, LLAvatarName *av_name);