diff options
author | Justin Clark-Casey (justincc) | 2011-04-02 01:53:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-04-02 01:53:47 +0100 |
commit | 7bba0177fea621fa7116df8dfc1680dc9045fbd3 (patch) | |
tree | c90fc9f4e5f434773fa129deea57aa4ee739c61c | |
parent | add test for removing group owned objects (diff) | |
download | opensim-SC_OLD-7bba0177fea621fa7116df8dfc1680dc9045fbd3.zip opensim-SC_OLD-7bba0177fea621fa7116df8dfc1680dc9045fbd3.tar.gz opensim-SC_OLD-7bba0177fea621fa7116df8dfc1680dc9045fbd3.tar.bz2 opensim-SC_OLD-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
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/PrimCountModule.cs | 2 |
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 | } |