mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Mantis 1370. Thanks lulurun for the patch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user