diff options
author | Melanie | 2011-01-29 04:51:11 +0000 |
---|---|---|
committer | Melanie | 2011-01-29 04:51:11 +0000 |
commit | c14acf8a06efea404ce3360860175d2cea1bc5c9 (patch) | |
tree | ef70b584340753b141656c93e3ac0f7aad5563f6 /OpenSim | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-c14acf8a06efea404ce3360860175d2cea1bc5c9.zip opensim-SC_OLD-c14acf8a06efea404ce3360860175d2cea1bc5c9.tar.gz opensim-SC_OLD-c14acf8a06efea404ce3360860175d2cea1bc5c9.tar.bz2 opensim-SC_OLD-c14acf8a06efea404ce3360860175d2cea1bc5c9.tar.xz |
Adapt to CM
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs index 34ef67f..2d1979f 100644 --- a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | |||
@@ -169,7 +169,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
169 | if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts)) | 169 | if (m_ParcelCounts.TryGetValue(landData.GlobalID, out parcelCounts)) |
170 | { | 170 | { |
171 | UUID landOwner = landData.OwnerID; | 171 | UUID landOwner = landData.OwnerID; |
172 | int partCount = obj.Parts.Length; | 172 | int partCount = obj.GetPartCount(); |
173 | 173 | ||
174 | m_SimwideCounts[landOwner] += partCount; | 174 | m_SimwideCounts[landOwner] += partCount; |
175 | if (parcelCounts.Users.ContainsKey(obj.OwnerID)) | 175 | if (parcelCounts.Users.ContainsKey(obj.OwnerID)) |