mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
replace a clear attachments by a full delete
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user