From information given my Mandarinka Tasty, add firing the detach event even for temp attachments
parent
cf87898358
commit
2c75be7f6e
|
@ -779,6 +779,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
|||
// on detach. It's likely a temp attachment.
|
||||
if (so.FromItemID == UUID.Zero)
|
||||
{
|
||||
// Retirn value is ignored
|
||||
PrepareScriptInstanceForSave(so, true);
|
||||
|
||||
lock (sp.AttachmentsSyncLock)
|
||||
{
|
||||
bool changed = sp.Appearance.DetachAttachment(so.FromItemID);
|
||||
|
|
Loading…
Reference in New Issue