aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs16
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 92d0aff..6b031ae 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2990,8 +2990,22 @@ namespace OpenSim.Region.Framework.Scenes
2990 sp.IsChildAgent = false; 2990 sp.IsChildAgent = false;
2991 sp.IsLoggingIn = true; 2991 sp.IsLoggingIn = true;
2992 2992
2993 // We leave a 5 second pause before attempting to rez attachments to avoid a clash with
2994 // version 3 viewers that maybe doing their own attachment rezzing related to their current
2995 // outfit folder on startup. If these operations do clash, then the symptoms are invisible
2996 // attachments until one zooms in on the avatar.
2997 //
2998 // We do not pause if we are launching on the same thread anyway in order to avoid pointlessly
2999 // delaying any attachment related regression tests.
2993 if (AttachmentsModule != null) 3000 if (AttachmentsModule != null)
2994 Util.FireAndForget(delegate(object o) { AttachmentsModule.RezAttachments(sp); }); 3001 Util.FireAndForget(
3002 o =>
3003 {
3004 if (Util.FireAndForgetMethod != FireAndForgetMethod.None)
3005 Thread.Sleep(5000);
3006
3007 AttachmentsModule.RezAttachments(sp);
3008 });
2995 } 3009 }
2996 } 3010 }
2997 else 3011 else