[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:32:43 PDT 2007


Can't claim this idea either ;-)  ( http://forums.secondlife.com/showthread.php?p=1586402 )

Matthew




----------------------------------------
> Date: Sat, 14 Jul 2007 11:17:56 -0700
> From: dzonatas at dzonux.net
> To: matthew.dowd at hotmail.co.uk
> CC: sldev at lists.secondlife.com
> Subject: Re: [sldev] Slightly more involved patch - Added Invite to Group to avatar pie menu
> 
> Sweet!
> 
> I've been wanting an easier way to invite people to group!
> 
> Matthew Dowd wrote:
> > 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
> >
> >
> >   
> 
> -- 
> Power to Change the Void

_________________________________________________________________
Try Live.com - your fast, personalised homepage with all the things you care about in one place.
http://www.live.com/?mkt=en-gb  


More information about the SLDev mailing list