Allow selecting group objects and selecting objects by owner from the

parcel dialog.
This commit is contained in:
Melanie Thielker
2008-11-21 05:35:35 +00:00
parent e9ad6f7913
commit 46278b34b1

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