Make attachment rezzing async again for NPC. Doing that sync causes a deadlock

with the script thread.
avinationmerge
Melanie Thielker 2015-03-24 01:37:14 +01:00
parent 65c0c4be78
commit 752901c5f4
1 changed files with 6 additions and 1 deletions

View File

@ -1855,7 +1855,12 @@ namespace OpenSim.Region.Framework.Scenes
// Util.FireAndForget( // Util.FireAndForget(
// o => // o =>
// { // {
if (!isNPC)
Scene.AttachmentsModule.RezAttachments(this); Scene.AttachmentsModule.RezAttachments(this);
else
Util.FireAndForget(x => {
Scene.AttachmentsModule.RezAttachments(this);
});
// }); // });
} }
else else