Updated the code to allow people to control whether to get client definition updates, now that the updater works.
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "llemote.h"
|
||||
|
||||
#include "llfirstuse.h"
|
||||
#include "llfloaterchat.h"
|
||||
#include "llheadrotmotion.h"
|
||||
|
||||
#include "llhudeffecttrail.h"
|
||||
@@ -1525,7 +1526,17 @@ void LLVOAvatar::initClass()
|
||||
}
|
||||
|
||||
{
|
||||
updateClientTags();
|
||||
if (gSavedSettings.getBOOL("AscentUpdateTagsOnLoad"))
|
||||
{
|
||||
if (updateClientTags())
|
||||
{
|
||||
LLChat chat;
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
chat.mText = llformat("Client definitions are up-to-date.");
|
||||
LLFloaterChat::addChat(chat);
|
||||
}
|
||||
}
|
||||
|
||||
loadClientTags();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user