diff options
author | Johan Berntsson | 2008-06-11 04:19:30 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-06-11 04:19:30 +0000 |
commit | 6b77f1141dfe6321ff3eb844476937a0c9af30de (patch) | |
tree | 537a745d47982907a98077774c5f4cc905ea57d2 /OpenSim | |
parent | * Fix the string substitutions in the last commit (diff) | |
download | opensim-SC-6b77f1141dfe6321ff3eb844476937a0c9af30de.zip opensim-SC-6b77f1141dfe6321ff3eb844476937a0c9af30de.tar.gz opensim-SC-6b77f1141dfe6321ff3eb844476937a0c9af30de.tar.bz2 opensim-SC-6b77f1141dfe6321ff3eb844476937a0c9af30de.tar.xz |
Mantis 1370. Thanks lulurun for the patch
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 5 |
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 | } |