Display names from Phoenix. Thanks Wolfspirit!
That's quite a piece of work. I have NO idea how Jess can downplay the effort that went into this. And it's still not complete, local chat is not affected, perhaps group chat too.
This commit is contained in:
@@ -205,6 +205,8 @@
|
||||
#include "scriptcounter.h"
|
||||
// </edit>
|
||||
|
||||
#include "llavatarnamecache.h"
|
||||
|
||||
// [RLVa:KB]
|
||||
#include "rlvhandler.h"
|
||||
// [/RLVa:KB]
|
||||
@@ -2700,6 +2702,13 @@ bool idle_startup()
|
||||
LLAppViewer::instance()->loadNameCache();
|
||||
}
|
||||
|
||||
// Start cache in not-running state until we figure out if we have
|
||||
// capabilities for display name lookup
|
||||
LLAvatarNameCache::initClass(false);
|
||||
S32 phoenix_name_system = gSavedSettings.getS32("PhoenixNameSystem");
|
||||
if(phoenix_name_system <= 0 || phoenix_name_system > 2) LLAvatarNameCache::setUseDisplayNames(false);
|
||||
else LLAvatarNameCache::setUseDisplayNames(true);
|
||||
|
||||
// *Note: this is where gWorldMap used to be initialized.
|
||||
|
||||
// register null callbacks for audio until the audio system is initialized
|
||||
|
||||
Reference in New Issue
Block a user