IslandzVW / halcyon

InWorldz Halcyon 3d virtual reality world simulator
BSD 3-Clause "New" or "Revised" License
21 stars 26 forks source link

Implemented llReturnObjectsByOwner and llReturnObjectsByID #325

Closed appurist closed 7 years ago

appurist commented 7 years ago

Also clarified and simplified cases where a group was checked and NOT being a member was treated as 0 (member in Everyone role) by using a nullable type for group powers. Factored caching of group powers, and otherwise also favor use of LLCV client cached powers if available when not cached.

This is an initial version that works as most people would expect. It does not yet support group-based returns as described in the second sentence of the documentation:

If the script is owned by an agent, PERMISSION_RETURN_OBJECTS may be granted by the owner. If the script is owned by a group, this permission may be granted by an agent belonging to the group's "Owners" role.

That will be added in a followup PR later.