mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Plumb in the list if user IDs to the land module to allow selection
of objects by owner name
This commit is contained in:
@@ -976,9 +976,9 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
join(west, south, east, north, remote_client.AgentId);
|
||||
}
|
||||
|
||||
public void handleParcelSelectObjectsRequest(int local_id, int request_type, IClientAPI remote_client)
|
||||
public void handleParcelSelectObjectsRequest(int local_id, int request_type, List<UUID> returnIDs, IClientAPI remote_client)
|
||||
{
|
||||
m_landList[local_id].sendForceObjectSelect(local_id, request_type, remote_client);
|
||||
m_landList[local_id].sendForceObjectSelect(local_id, request_type, returnIDs, remote_client);
|
||||
}
|
||||
|
||||
public void handleParcelObjectOwnersRequest(int local_id, IClientAPI remote_client)
|
||||
|
||||
@@ -645,7 +645,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
|
||||
#region Object Select and Object Owner Listing
|
||||
|
||||
public void sendForceObjectSelect(int local_id, int request_type, IClientAPI remote_client)
|
||||
public void sendForceObjectSelect(int local_id, int request_type, List<UUID> returnIDs, IClientAPI remote_client)
|
||||
{
|
||||
if (m_scene.ExternalChecks.ExternalChecksCanEditParcel(remote_client.AgentId, this))
|
||||
{
|
||||
@@ -662,9 +662,9 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
{
|
||||
resultLocalIDs.Add(obj.LocalId);
|
||||
}
|
||||
// else if (request_type == LandManager.LAND_SELECT_OBJECTS_GROUP && ...) // TODO: group support
|
||||
// {
|
||||
// }
|
||||
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_GROUP && obj.GroupID == landData.GroupID && landData.GroupID != UUID.Zero)
|
||||
{
|
||||
}
|
||||
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_OTHER &&
|
||||
obj.OwnerID != remote_client.AgentId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user