replace a clear attachments by a full delete
parent
3188db7041
commit
0a22bde6d1
|
@ -345,7 +345,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||||
if (ad.AttachmentObjects != null && ad.AttachmentObjects.Count > 0)
|
if (ad.AttachmentObjects != null && ad.AttachmentObjects.Count > 0)
|
||||||
{
|
{
|
||||||
lock (sp.AttachmentsSyncLock)
|
lock (sp.AttachmentsSyncLock)
|
||||||
sp.ClearAttachments();
|
DeleteAttachmentsFromScene(sp, true); // delete
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (int indx = 0; indx < ad.AttachmentObjects.Count; ++indx)
|
for (int indx = 0; indx < ad.AttachmentObjects.Count; ++indx)
|
||||||
|
|
Loading…
Reference in New Issue