From 53bcf2139e7c8c9da2fbbcafc45704eae3bc5daa Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 21 May 2008 18:02:09 +0000 Subject: this removes use of the mapper for wearables, and I can confirm things get saved to the database. There are still issues on wearing things after a cleared cache that I'm looking at now. --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 +-- OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index d0b87fd..f70eb45 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -1456,8 +1456,7 @@ namespace OpenSim.Region.Environment.Scenes SendFullUpdateToAllClients(); SendAppearanceToAllOtherAgents(); - // This is probably egregious - m_controllingClient.SendWearables(m_appearance.Wearables, m_appearance.Serial++); + SendOwnAppearance(); } diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index 37b7e8d..5c5cb17 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs @@ -61,9 +61,14 @@ namespace OpenSim.Region.Modules.AvatarFactory { appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId); if (appearance != null) + { return true; + } else + { + m_log.InfoFormat("[APPEARANCE] appearance not found for {0}", avatarId.ToString()); return false; + } // //should only let one thread at a time do this part // EventWaitHandle waitHandle = null; -- cgit v1.1