[sldev] Slightly more involved patch - Added Invite to Group to avatar pie menu

Matthew Dowd matthew.dowd at hotmail.co.uk
Sat Jul 14 11:03:52 PDT 2007


P.S. this was much more involved than the other patches I've submitted which was good in that it helped my knowledge of the source code. On the other hand, in reusing various dialogs, I may have introduced new issues, so peer review would be welcome!!

Matthew




----------------------------------------
> From: matthew.dowd at hotmail.co.uk
> To: sldev at lists.secondlife.com
> Date: Sat, 14 Jul 2007 18:01:45 +0000
> Subject: [sldev] Slightly more involved patch - Added Invite to Group to avatar pie menu
> 
> 
> OK, I've posted a somewhat more involved patch than the one earlier today at http://jira.secondlife.com/browse/VWR-1736
> 
> This adds a new option to the avatar pie menu of invite to group.
> 
> Also added a few new internal features which may be useful elsehwhere:
> 
> LLFloaterGroups::show - now take a third optional parameter allowing you to list only groups with specified permissions
> 
> LLFloaterGroupInvite::showForGroup - now takes a vector of avatar_ids which get automatically added to the invitee list.
> 
> There's also a quirk in that llFloaterGroupInvite/LLPanelGroupInvite assume that the Group Information dialog has already cached the group information. This has the effect in the current browser that if you are quick enough (or if the group is large and/or SL is running slowly), if you press the Invite button in the Members and Group tab in Group Information, the roles dropdown list can remain blank (until you close and reopen the invite dialog). 
> 
> This is because an attempt to populate the dropdown list is only made when the dialog is first opened. The patch modifies LLPanelGroupInvite so that it keeps retrying to see if the data has been cached until it can populate the drop down list. (I've jira'd this seperately at http://jira.secondlife.com/browse/VWR-1737 but won't try to seperate this out as a seperate patch file unless requested - it isn't difficult to do from the hints I've given in jira anyway).
> 
> Matthew
> 
> 
> _________________________________________________________________
> Feel like a local wherever you go with BackOfMyHand.com
> http://www.backofmyhand.com_______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

_________________________________________________________________
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com/index2.html


More information about the SLDev mailing list