Exclude attachments from parcel prim counts
parent
c65b10caa2
commit
03a41e5f8b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue