aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs5
1 files changed, 3 insertions, 2 deletions
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
51 public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance) 51 public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance)
52 { 52 {
53 CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(avatarId); 53 CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(avatarId);
54 if ((profile != null) && (profile.RootFolder != null)) 54 //if ((profile != null) && (profile.RootFolder != null))
55 if (profile != null)
55 { 56 {
56 appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId); 57 appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId);
57 if (appearance != null) 58 if (appearance != null)
58 { 59 {
59 SetAppearanceAssets(profile, ref appearance); 60 //SetAppearanceAssets(profile, ref appearance);
60 m_log.InfoFormat("[APPEARANCE] found : {0}", appearance.ToString()); 61 m_log.InfoFormat("[APPEARANCE] found : {0}", appearance.ToString());
61 return true; 62 return true;
62 } 63 }