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,10 +5996,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (!p.IsChildAgent)
|
if (!p.IsChildAgent)
|
||||||
p.SendKillTo(this);
|
p.SendKillTo(this);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (Scene.AttachmentsModule != null)
|
if (Scene.AttachmentsModule != null)
|
||||||
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
|
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// kill with attachs root kills
|
// kill with attachs root kills
|
||||||
|
|
Loading…
Reference in New Issue