diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 1d6e522..bd7bd82 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -566,12 +566,17 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
566 | /// <param name="client"></param> | 566 | /// <param name="client"></param> |
567 | private void Client_OnRequestWearables(IClientAPI client) | 567 | private void Client_OnRequestWearables(IClientAPI client) |
568 | { | 568 | { |
569 | // m_log.DebugFormat("[AVFACTORY]: Client_OnRequestWearables called for {0} ({1})", client.Name, client.AgentId); | 569 | Util.FireAndForget(delegate(object x) |
570 | ScenePresence sp = m_scene.GetScenePresence(client.AgentId); | 570 | { |
571 | if (sp != null) | 571 | Thread.Sleep(4000); |
572 | client.SendWearables(sp.Appearance.Wearables, sp.Appearance.Serial++); | 572 | |
573 | else | 573 | // m_log.DebugFormat("[AVFACTORY]: Client_OnRequestWearables called for {0} ({1})", client.Name, client.AgentId); |
574 | m_log.WarnFormat("[AVFACTORY]: Client_OnRequestWearables unable to find presence for {0}", client.AgentId); | 574 | ScenePresence sp = m_scene.GetScenePresence(client.AgentId); |
575 | if (sp != null) | ||
576 | client.SendWearables(sp.Appearance.Wearables, sp.Appearance.Serial++); | ||
577 | else | ||
578 | m_log.WarnFormat("[AVFACTORY]: Client_OnRequestWearables unable to find presence for {0}", client.AgentId); | ||
579 | }); | ||
575 | } | 580 | } |
576 | 581 | ||
577 | /// <summary> | 582 | /// <summary> |