aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
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/CoreModules
parentFix build break and change some groups interfaces (diff)
downloadopensim-SC_OLD-4b85cbf0b6f31880655f07e68eb041247dedf870.zip
opensim-SC_OLD-4b85cbf0b6f31880655f07e68eb041247dedf870.tar.gz
opensim-SC_OLD-4b85cbf0b6f31880655f07e68eb041247dedf870.tar.bz2
opensim-SC_OLD-4b85cbf0b6f31880655f07e68eb041247dedf870.tar.xz
Correctly flag group owned prims in the land prim list
Diffstat (limited to 'OpenSim/Region/CoreModules')
-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