Fix build break and change some groups interfaces

This commit is contained in:
Melanie Thielker
2009-04-16 00:46:24 +00:00
parent 7e95783dd3
commit ac96722c1d
7 changed files with 10 additions and 13 deletions

View File

@@ -3420,7 +3420,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount)
public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
{
int notifyCount = ownersAndCount.Count;
ParcelObjectOwnersReplyPacket pack = (ParcelObjectOwnersReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelObjectOwnersReply);
@@ -3445,12 +3445,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
dataBlock[num] = new ParcelObjectOwnersReplyPacket.DataBlock();
dataBlock[num].Count = ownersAndCount[owner];
if (m_GroupsModule != null)
{
//TODO: There's probably a better way to do this.
GroupProfileData gpd;
dataBlock[num].IsGroupOwned = m_GroupsModule.GetGroupProfile(owner, out gpd);
}
if (land.GroupID == owner)
dataBlock[num].IsGroupOwned = true;
dataBlock[num].OnlineStatus = true; //TODO: fix me later
dataBlock[num].OwnerID = owner;