Allow selecting group objects and selecting objects by owner from the

parcel dialog.
0.6.1-post-fixes
Melanie Thielker 2008-11-21 05:35:35 +00:00
parent e9ad6f7913
commit 46278b34b1
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}
}
}
}