summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorVir Linden <60274682+vir-linden@users.noreply.github.com>2024-01-17 11:12:23 -0500
committerGitHub <noreply@github.com>2024-01-17 11:12:23 -0500
commitf584d14f7f0d129f2d7e430cf843835bbe23d6f9 (patch)
treee0559f1ae1a94e8e8ce5efa53b58b6eaddb3f1d7 /indra/llmessage
parent469f2621f170484943093a830ec385f1b8d20934 (diff)
parenta9ef4d2ee8470e944b09402d0f796cb09cdb728d (diff)
Merge pull request #565 from secondlife/simon/sl-20635-new-data
SL-20635 - new data to ObjectUpdate and AvatarAppearance message
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/message.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llmessage/message.cpp b/indra/llmessage/message.cpp
index 31acc65642..5de29ba66f 100644
--- a/indra/llmessage/message.cpp
+++ b/indra/llmessage/message.cpp
@@ -307,12 +307,15 @@ void LLMessageSystem::loadTemplateFile(const std::string& filename, bool failure
LLTemplateTokenizer tokens(template_body);
LLTemplateParser parsed(tokens);
mMessageFileVersionNumber = parsed.getVersion();
+ S32 count = 0;
for(LLTemplateParser::message_iterator iter = parsed.getMessagesBegin();
iter != parsed.getMessagesEnd();
iter++)
{
addTemplate(*iter);
+ count++;
}
+ LL_INFOS("Messaging") << "Read " << count << " messages from " << filename << LL_ENDL;
}