aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-04-02 01:53:47 +0100
committerJustin Clark-Casey (justincc)2011-04-02 01:53:47 +0100
commit7bba0177fea621fa7116df8dfc1680dc9045fbd3 (patch)
treec90fc9f4e5f434773fa129deea57aa4ee739c61c
parentadd test for removing group owned objects (diff)
downloadopensim-SC-7bba0177fea621fa7116df8dfc1680dc9045fbd3.zip
opensim-SC-7bba0177fea621fa7116df8dfc1680dc9045fbd3.tar.gz
opensim-SC-7bba0177fea621fa7116df8dfc1680dc9045fbd3.tar.bz2
opensim-SC-7bba0177fea621fa7116df8dfc1680dc9045fbd3.tar.xz
If land is not group owned (group ID is always UUID.Zero) then don't check if a prim should be added to the group count
-rw-r--r--OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs
index 992cd72..bc140ae 100644
--- a/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs
@@ -219,8 +219,6 @@ namespace OpenSim.Region.CoreModules.World.Land
219 { 219 {
220 if (obj.OwnerID == landData.OwnerID) 220 if (obj.OwnerID == landData.OwnerID)
221 parcelCounts.Owner += partCount; 221 parcelCounts.Owner += partCount;
222 else if (landData.GroupID != UUID.Zero && obj.GroupID == landData.GroupID)
223 parcelCounts.Group += partCount;
224 else 222 else
225 parcelCounts.Others += partCount; 223 parcelCounts.Others += partCount;
226 } 224 }