aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/LandObject.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index a19b454..2cf739b 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -699,6 +699,7 @@ namespace OpenSim.Region.CoreModules.World.Land
699 if (m_scene.Permissions.CanEditParcel(remote_client.AgentId, this)) 699 if (m_scene.Permissions.CanEditParcel(remote_client.AgentId, this))
700 { 700 {
701 Dictionary<UUID, int> primCount = new Dictionary<UUID, int>(); 701 Dictionary<UUID, int> primCount = new Dictionary<UUID, int>();
702 List<UUID> groups = new List<UUID>();
702 703
703 lock (primsOverMe) 704 lock (primsOverMe)
704 { 705 {
@@ -726,6 +727,8 @@ namespace OpenSim.Region.CoreModules.World.Land
726 { 727 {
727 m_log.Error("[LAND]: Unable to match a prim with it's owner."); 728 m_log.Error("[LAND]: Unable to match a prim with it's owner.");
728 } 729 }
730 if (obj.OwnerID == obj.GroupID && (!groups.Contains(obj.OwnerID)))
731 groups.Add(obj.OwnerID);
729 } 732 }
730 } 733 }
731 catch (InvalidOperationException) 734 catch (InvalidOperationException)
@@ -734,7 +737,7 @@ namespace OpenSim.Region.CoreModules.World.Land
734 } 737 }
735 } 738 }
736 739
737 remote_client.SendLandObjectOwners(landData, primCount); 740 remote_client.SendLandObjectOwners(landData, groups, primCount);
738 } 741 }
739 } 742 }
740 743