replace a clear attachments by a full delete

master
UbitUmarov 2020-06-03 00:36:03 +01:00
parent 3188db7041
commit 0a22bde6d1
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
if (ad.AttachmentObjects != null && ad.AttachmentObjects.Count > 0)
{
lock (sp.AttachmentsSyncLock)
sp.ClearAttachments();
DeleteAttachmentsFromScene(sp, true); // delete
int i = 0;
for (int indx = 0; indx < ad.AttachmentObjects.Count; ++indx)