aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-06 07:50:26 +0000
committerMelanie Thielker2008-10-06 07:50:26 +0000
commit03a41e5f8b423c182a0067b6b1ae3c92f63c30a2 (patch)
tree0d067dcbfd260c8f076385b1148561f6b30f61ef /OpenSim/Region/Environment
parentImplement ForceOwnerPermissive and God TakeCopy (diff)
downloadopensim-SC-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.zip
opensim-SC-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.tar.gz
opensim-SC-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.tar.bz2
opensim-SC-03a41e5f8b423c182a0067b6b1ae3c92f63c30a2.tar.xz
Exclude attachments from parcel prim counts
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs2
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 }