mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Allow selecting group objects and selecting objects by owner from the
parcel dialog.
This commit is contained in:
@@ -664,12 +664,17 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
}
|
||||
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_GROUP && obj.GroupID == landData.GroupID && landData.GroupID != UUID.Zero)
|
||||
{
|
||||
resultLocalIDs.Add(obj.LocalId);
|
||||
}
|
||||
else if (request_type == LandChannel.LAND_SELECT_OBJECTS_OTHER &&
|
||||
obj.OwnerID != remote_client.AgentId)
|
||||
{
|
||||
resultLocalIDs.Add(obj.LocalId);
|
||||
}
|
||||
else if (request_type == (int)ObjectReturnType.List && returnIDs.Contains(obj.OwnerID))
|
||||
{
|
||||
resultLocalIDs.Add(obj.LocalId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user