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

with the script thread.
This commit is contained in:
Melanie Thielker
2015-03-24 01:37:14 +01:00
parent 65c0c4be78
commit 752901c5f4

View File

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