mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Make attachment rezzing async again for NPC. Doing that sync causes a deadlock
with the script thread.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user