bug fix. Was not deleting attachments if on public parcel

avinationmerge
UbitUmarov 2014-08-27 01:09:11 +01:00
parent 620443f858
commit 07ee101a05
1 changed files with 6 additions and 2 deletions

View File

@ -5967,6 +5967,9 @@ namespace OpenSim.Region.Framework.Scenes
if (nearRegion)
{
if (Scene.AttachmentsModule != null)
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
if (!ParcelHideThisAvatar || GodLevel >= 200)
return;
@ -5993,10 +5996,11 @@ namespace OpenSim.Region.Framework.Scenes
if (!p.IsChildAgent)
p.SendKillTo(this);
}
}
if (Scene.AttachmentsModule != null)
Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true);
}
}
// kill with attachs root kills