aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorMelanie Thielker2009-04-16 01:01:40 +0000
committerMelanie Thielker2009-04-16 01:01:40 +0000
commit4b85cbf0b6f31880655f07e68eb041247dedf870 (patch)
treece8183281bab30cdeb6a360679d78c923e57e751 /OpenSim/Region/ClientStack/LindenUDP
parentFix build break and change some groups interfaces (diff)
downloadopensim-SC-4b85cbf0b6f31880655f07e68eb041247dedf870.zip
opensim-SC-4b85cbf0b6f31880655f07e68eb041247dedf870.tar.gz
opensim-SC-4b85cbf0b6f31880655f07e68eb041247dedf870.tar.bz2
opensim-SC-4b85cbf0b6f31880655f07e68eb041247dedf870.tar.xz
Correctly flag group owned prims in the land prim list
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 2c57303..ab1816f 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(LandData land, Dictionary<UUID, int> ownersAndCount) 3423 public void SendLandObjectOwners(LandData land, List<UUID> groups, 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,7 +3445,7 @@ 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 (land.GroupID == owner) 3448 if (land.GroupID == owner || groups.Contains(owner))
3449 dataBlock[num].IsGroupOwned = true; 3449 dataBlock[num].IsGroupOwned = true;
3450 3450
3451 dataBlock[num].OnlineStatus = true; //TODO: fix me later 3451 dataBlock[num].OnlineStatus = true; //TODO: fix me later