Fix old namesystem code that broke initially setting Legacy (w/display) for everything in general.
Also cleans up old logic and directs the friends list to update when the user changes the namesystem for it specifically. Thanks to um... I think it was Deltek, who discovered this bug.
This commit is contained in:
@@ -629,6 +629,8 @@ static bool handlePhoenixNameSystemChanged(const LLSD& newvalue)
|
||||
}
|
||||
// [/Ansariel: Display name support]
|
||||
|
||||
bool handleUpdateFriends() { LLAvatarTracker::instance().updateFriends(); return true; }
|
||||
|
||||
static bool handleAllowLargeSounds(const LLSD& newvalue)
|
||||
{
|
||||
if(gAudiop)
|
||||
@@ -826,6 +828,8 @@ void settings_setup_listeners()
|
||||
// [Ansariel: Display name support]
|
||||
gSavedSettings.getControl("PhoenixNameSystem")->getSignal()->connect(boost::bind(&handlePhoenixNameSystemChanged, _2));
|
||||
// [/Ansariel: Display name support]
|
||||
gSavedSettings.getControl("LiruShowLastNameResident")->getSignal()->connect(boost::bind(handlePhoenixNameSystemChanged, _2));
|
||||
gSavedSettings.getControl("FriendNameSystem")->getSignal()->connect(boost::bind(handleUpdateFriends));
|
||||
|
||||
gSavedSettings.getControl("AllowLargeSounds")->getSignal()->connect(boost::bind(&handleAllowLargeSounds, _2));
|
||||
gSavedSettings.getControl("LiruUseZQSDKeys")->getSignal()->connect(boost::bind(load_default_bindings, _2));
|
||||
|
||||
Reference in New Issue
Block a user