bug fix. Was not deleting attachments if on public parcel
parent
620443f858
commit
07ee101a05
|
@ -5967,6 +5967,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
if (nearRegion)
|
if (nearRegion)
|
||||||
{
|
{
|
||||||
|
if (Scene.AttachmentsModule != null)
|
||||||
|
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
|
||||||
|
|
||||||
if (!ParcelHideThisAvatar || GodLevel >= 200)
|
if (!ParcelHideThisAvatar || GodLevel >= 200)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -5993,9 +5996,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (!p.IsChildAgent)
|
if (!p.IsChildAgent)
|
||||||
p.SendKillTo(this);
|
p.SendKillTo(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Scene.AttachmentsModule != null)
|
||||||
|
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
|
||||||
}
|
}
|
||||||
if (Scene.AttachmentsModule != null)
|
|
||||||
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue