diff options
author | Diva Canto | 2016-06-19 09:17:04 -0700 |
---|---|---|
committer | Diva Canto | 2016-06-19 09:17:04 -0700 |
commit | 12b73603cc4605955d9ea60ad66b4a85ea3d44ca (patch) | |
tree | 0ccdfed4f2b2db7644fb93225170685aa50866e3 /OpenSim/Region/CoreModules/World/Land | |
parent | Mantis #7917: regression on prim limits module. (diff) | |
download | opensim-SC-12b73603cc4605955d9ea60ad66b4a85ea3d44ca.zip opensim-SC-12b73603cc4605955d9ea60ad66b4a85ea3d44ca.tar.gz opensim-SC-12b73603cc4605955d9ea60ad66b4a85ea3d44ca.tar.bz2 opensim-SC-12b73603cc4605955d9ea60ad66b4a85ea3d44ca.tar.xz |
Still related to mantis #7917, parcel prims info. Now sending the correct numbers for "Simulator primitive usage" related to the parcel owner, not the entire region.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 14 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 3 |
2 files changed, 10 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 84a969b..95b576f 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -884,7 +884,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
884 | } | 884 | } |
885 | } | 885 | } |
886 | 886 | ||
887 | public void FinalizeLandPrimCountUpdate() | 887 | private void FinalizeLandPrimCountUpdate() |
888 | { | 888 | { |
889 | //Get Simwide prim count for owner | 889 | //Get Simwide prim count for owner |
890 | Dictionary<UUID, List<LandObject>> landOwnersAndParcels = new Dictionary<UUID, List<LandObject>>(); | 890 | Dictionary<UUID, List<LandObject>> landOwnersAndParcels = new Dictionary<UUID, List<LandObject>>(); |
@@ -925,10 +925,10 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
925 | 925 | ||
926 | public void EventManagerOnParcelPrimCountUpdate() | 926 | public void EventManagerOnParcelPrimCountUpdate() |
927 | { | 927 | { |
928 | // m_log.DebugFormat( | 928 | //m_log.DebugFormat( |
929 | // "[LAND MANAGEMENT MODULE]: Triggered EventManagerOnParcelPrimCountUpdate() for {0}", | 929 | // "[land management module]: triggered eventmanageronparcelprimcountupdate() for {0}", |
930 | // m_scene.RegionInfo.RegionName); | 930 | // m_scene.RegionInfo.RegionName); |
931 | 931 | ||
932 | ResetOverMeRecords(); | 932 | ResetOverMeRecords(); |
933 | EntityBase[] entities = m_scene.Entities.GetEntities(); | 933 | EntityBase[] entities = m_scene.Entities.GetEntities(); |
934 | foreach (EntityBase obj in entities) | 934 | foreach (EntityBase obj in entities) |
@@ -1843,7 +1843,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1843 | 1843 | ||
1844 | LLSDRemoteParcelResponse response = new LLSDRemoteParcelResponse(); | 1844 | LLSDRemoteParcelResponse response = new LLSDRemoteParcelResponse(); |
1845 | response.parcel_id = parcelID; | 1845 | response.parcel_id = parcelID; |
1846 | m_log.DebugFormat("[LAND MANAGEMENT MODULE]: Got parcelID {0}", parcelID); | 1846 | //m_log.DebugFormat("[LAND MANAGEMENT MODULE]: Got parcelID {0}", parcelID); |
1847 | 1847 | ||
1848 | return LLSDHelpers.SerialiseLLSDReply(response); | 1848 | return LLSDHelpers.SerialiseLLSDReply(response); |
1849 | } | 1849 | } |
@@ -2306,12 +2306,14 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
2306 | cdl.AddRow("Other clean time", ld.OtherCleanTime); | 2306 | cdl.AddRow("Other clean time", ld.OtherCleanTime); |
2307 | 2307 | ||
2308 | cdl.AddRow("Max Prims", lo.GetParcelMaxPrimCount()); | 2308 | cdl.AddRow("Max Prims", lo.GetParcelMaxPrimCount()); |
2309 | cdl.AddRow("Simwide Max Prims (owner)", lo.GetSimulatorMaxPrimCount()); | ||
2309 | IPrimCounts pc = lo.PrimCounts; | 2310 | IPrimCounts pc = lo.PrimCounts; |
2310 | cdl.AddRow("Owner Prims", pc.Owner); | 2311 | cdl.AddRow("Owner Prims", pc.Owner); |
2311 | cdl.AddRow("Group Prims", pc.Group); | 2312 | cdl.AddRow("Group Prims", pc.Group); |
2312 | cdl.AddRow("Other Prims", pc.Others); | 2313 | cdl.AddRow("Other Prims", pc.Others); |
2313 | cdl.AddRow("Selected Prims", pc.Selected); | 2314 | cdl.AddRow("Selected Prims", pc.Selected); |
2314 | cdl.AddRow("Total Prims", pc.Total); | 2315 | cdl.AddRow("Total Prims", pc.Total); |
2316 | cdl.AddRow("SimWide Prims (owner)", pc.Simulator); | ||
2315 | 2317 | ||
2316 | cdl.AddRow("Music URL", ld.MusicURL); | 2318 | cdl.AddRow("Music URL", ld.MusicURL); |
2317 | cdl.AddRow("Obscure Music", ld.ObscureMusic); | 2319 | cdl.AddRow("Obscure Music", ld.ObscureMusic); |
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 45ad022..6b37dad 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -362,7 +362,8 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
362 | int simMax = (int)( (long)LandData.SimwideArea | 362 | int simMax = (int)( (long)LandData.SimwideArea |
363 | * (long)m_scene.RegionInfo.ObjectCapacity | 363 | * (long)m_scene.RegionInfo.ObjectCapacity |
364 | / (long)(m_scene.RegionInfo.RegionSizeX * m_scene.RegionInfo.RegionSizeY) ); | 364 | / (long)(m_scene.RegionInfo.RegionSizeX * m_scene.RegionInfo.RegionSizeY) ); |
365 | //m_log.DebugFormat("Simwide Area: {0}, Capacity {1}, SimMax {2}", LandData.SimwideArea, m_scene.RegionInfo.ObjectCapacity, simMax); | 365 | //m_log.DebugFormat("Simwide Area: {0}, Capacity {1}, SimMax {2}, SimWidePrims {3}", |
366 | // LandData.SimwideArea, m_scene.RegionInfo.ObjectCapacity, simMax, LandData.SimwidePrims); | ||
366 | return simMax; | 367 | return simMax; |
367 | } | 368 | } |
368 | } | 369 | } |