[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:01:45 PDT 2007


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


More information about the SLDev mailing list