diff options
author | Melanie Thielker | 2008-10-06 07:50:26 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-06 07:50:26 +0000 |
commit | 03a41e5f8b423c182a0067b6b1ae3c92f63c30a2 (patch) | |
tree | 0d067dcbfd260c8f076385b1148561f6b30f61ef /OpenSim | |
parent | Implement ForceOwnerPermissive and God TakeCopy (diff) | |
download | opensim-SC_OLD-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.zip opensim-SC_OLD-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.tar.gz opensim-SC_OLD-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.tar.bz2 opensim-SC_OLD-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.tar.xz |
Exclude attachments from parcel prim counts
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs index 6ab5a57..77a31c7 100644 --- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs | |||
@@ -595,7 +595,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land | |||
595 | { | 595 | { |
596 | if (obj != null) | 596 | if (obj != null) |
597 | { | 597 | { |
598 | if (obj is SceneObjectGroup) | 598 | if ((obj is SceneObjectGroup) && ((SceneObjectGroup)obj).RootPart != null && !((SceneObjectGroup)obj).RootPart.IsAttachment) |
599 | { | 599 | { |
600 | m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj); | 600 | m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj); |
601 | } | 601 | } |