aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2009-04-16 00:46:24 +0000
committerMelanie Thielker2009-04-16 00:46:24 +0000
commitac96722c1d6b8c6466fcd924a2d92d50853de042 (patch)
tree146d186ec7d71f871fed918f8d9e238bed9fba1b /OpenSim/Region/ClientStack/LindenUDP
parentExpose the GroupRecord and it's accessor API (diff)
downloadopensim-SC_OLD-ac96722c1d6b8c6466fcd924a2d92d50853de042.zip
opensim-SC_OLD-ac96722c1d6b8c6466fcd924a2d92d50853de042.tar.gz
opensim-SC_OLD-ac96722c1d6b8c6466fcd924a2d92d50853de042.tar.bz2
opensim-SC_OLD-ac96722c1d6b8c6466fcd924a2d92d50853de042.tar.xz
Fix build break and change some groups interfaces
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index b506434..2c57303 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -3420,7 +3420,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3420 } 3420 }
3421 } 3421 }
3422 3422
3423 public void SendLandObjectOwners(Dictionary<UUID, int> ownersAndCount) 3423 public void SendLandObjectOwners(LandData land, Dictionary<UUID, int> ownersAndCount)
3424 { 3424 {
3425 int notifyCount = ownersAndCount.Count; 3425 int notifyCount = ownersAndCount.Count;
3426 ParcelObjectOwnersReplyPacket pack = (ParcelObjectOwnersReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelObjectOwnersReply); 3426 ParcelObjectOwnersReplyPacket pack = (ParcelObjectOwnersReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelObjectOwnersReply);
@@ -3445,12 +3445,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3445 dataBlock[num] = new ParcelObjectOwnersReplyPacket.DataBlock(); 3445 dataBlock[num] = new ParcelObjectOwnersReplyPacket.DataBlock();
3446 dataBlock[num].Count = ownersAndCount[owner]; 3446 dataBlock[num].Count = ownersAndCount[owner];
3447 3447
3448 if (m_GroupsModule != null) 3448 if (land.GroupID == owner)
3449 { 3449 dataBlock[num].IsGroupOwned = true;
3450 //TODO: There's probably a better way to do this. 3450
3451 GroupProfileData gpd;
3452 dataBlock[num].IsGroupOwned = m_GroupsModule.GetGroupProfile(owner, out gpd);
3453 }
3454 dataBlock[num].OnlineStatus = true; //TODO: fix me later 3451 dataBlock[num].OnlineStatus = true; //TODO: fix me later
3455 dataBlock[num].OwnerID = owner; 3452 dataBlock[num].OwnerID = owner;
3456 3453