From 6b77f1141dfe6321ff3eb844476937a0c9af30de Mon Sep 17 00:00:00 2001
From: Johan Berntsson
Date: Wed, 11 Jun 2008 04:19:30 +0000
Subject: Mantis 1370. Thanks lulurun for the patch

---
 OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'OpenSim')

diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
index 1a65c8d..7ce90f5 100644
--- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
@@ -51,12 +51,13 @@ namespace OpenSim.Region.Modules.AvatarFactory
         public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance)
         {
             CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(avatarId);
-            if ((profile != null) && (profile.RootFolder != null))
+            //if ((profile != null) && (profile.RootFolder != null))
+            if (profile != null)
             {
                 appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId);
                 if (appearance != null)
                 {
-                    SetAppearanceAssets(profile, ref appearance);
+                    //SetAppearanceAssets(profile, ref appearance);
                     m_log.InfoFormat("[APPEARANCE] found : {0}", appearance.ToString());
                     return true;
                 }
-- 
cgit v1.1