diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 |
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 | ||