mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Exclude attachments from parcel prim counts
This commit is contained in:
@@ -595,7 +595,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
|
||||
{
|
||||
if (obj != null)
|
||||
{
|
||||
if (obj is SceneObjectGroup)
|
||||
if ((obj is SceneObjectGroup) && ((SceneObjectGroup)obj).RootPart != null && !((SceneObjectGroup)obj).RootPart.IsAttachment)
|
||||
{
|
||||
m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user