From 4b85cbf0b6f31880655f07e68eb041247dedf870 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 16 Apr 2009 01:01:40 +0000 Subject: Correctly flag group owned prims in the land prim list --- OpenSim/Region/CoreModules/World/Land/LandObject.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/World') 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 if (m_scene.Permissions.CanEditParcel(remote_client.AgentId, this)) { Dictionary primCount = new Dictionary(); + List groups = new List(); lock (primsOverMe) { @@ -726,6 +727,8 @@ namespace OpenSim.Region.CoreModules.World.Land { m_log.Error("[LAND]: Unable to match a prim with it's owner."); } + if (obj.OwnerID == obj.GroupID && (!groups.Contains(obj.OwnerID))) + groups.Add(obj.OwnerID); } } catch (InvalidOperationException) @@ -734,7 +737,7 @@ namespace OpenSim.Region.CoreModules.World.Land } } - remote_client.SendLandObjectOwners(landData, primCount); + remote_client.SendLandObjectOwners(landData, groups, primCount); } } -- cgit v1.1