Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2022-12-02 20:53:06



Reply to topic  [ 3 posts ] 
v1.30.0.4 radar issue 
Author Message

Joined: 2010-04-07 08:23:18
Posts: 210
Reply with quote
Hello Henri,

might it be that the changes you did for the new Lua radar functions had a detrimental effect on chat alerts? I have chat alerts enabled for avatars entering/exiting the sim, and I am seeing the entire list of avatars present being dumped to chat (double even, I think) whenever the communications floater is restored (toggling with either the history button / Ctrl-H or IM button / Ctrl-T).

Regards,
Lia


2022-06-25 13:34:47
Profile

Joined: 2009-03-17 18:42:51
Posts: 5093
Reply with quote
Drat... Not using Radar annoncements myself (I find them too spammy), I did not notice this...

This bug is not related to the new Lua feature, but to an optimization I made: the friend and muted status are cached for each avatar in the list instead of being re-checked each time the list is refreshed, but as a result the Radar also observes mute and friend lists events and rebuilds the list each time one such event is triggered... A refresh (instead of a full list clearing and rebuild) is needed, to avoid the announcements.

It will be fixed in next releases. In the mean time, and if you build the viewer yourself, you can change the HBFloaterRadar::onChange() method in indra/newview/hbfloaterradar.cpp to read:
Code:
// Mute list observer
//virtual
void HBFloaterRadar::onChange()
{
   for (avatar_list_t::iterator iter = mAvatars.begin(), end = mAvatars.end();
       iter != end; ++iter)
   {
      const LLUUID& avid = iter->first;
      HBRadarListEntry& entry = iter->second;
      entry.mMuted = LLMuteList::isMuted(avid);
      entry.mFriend = LLAvatarTracker::isAgentFriend(avid);
   }
}


2022-06-25 14:21:12
Profile WWW

Joined: 2010-04-07 08:23:18
Posts: 210
Reply with quote
Hello again Henri,

thank you for looking into it so quickly and providing a fix. It works like a charm. And yes, it is somewhat spammy a feature, but it does have its uses when keeping an eye on a place as an admin. :D

Regards,
Lia


2022-06-25 15:59:48
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.