[Opensim-dev] Some features work only with the Active group

Klaus-E. Klingner klingner at silverday.de
Mon Apr 30 11:29:19 UTC 2012


Hmm I believe that IS the expected behaviour. In SL in order to be able 
to use objects set to check the group you have to have the resp. group 
active or it won't work. Changing this would have massive repercussions 
on existing scripts.

Regards,

Klaus

On 30.04.2012 09:58, Oren Hurvitz wrote:
> I'm using Flotsam's XmlRpcGroups. In xmlrpc.php, I see that
> getAgentGroupMembership() only returns True if the queried group is 
> the
> user's active group. I think this is a mistake: if we change it to 
> return
> True for any group membership, many features would start working as
> expected. That would require no changes to OpenSim itself.
>
> The reason getAgentGroupMembership() only works for the active group 
> is that
> it uses "JOIN osagent". In contrast, getAgentGroupMemberships() 
> (notice the
> "s" at the end) uses "LEFT JOIN osagent", so it returns *all* the 
> groups.
>
> --
> View this message in context:
> 
> http://opensim-dev.2196679.n2.nabble.com/Some-features-work-only-with-the-Active-group-tp7512633p7512748.html
> Sent from the opensim-dev mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev




More information about the Opensim-dev mailing list