Fixed bug in Appearance update in AvatarFactoryModule.

afrisby
MW 2007-12-03 14:37:20 +00:00
parent 0ec208a200
commit 4eba3373dc
1 changed files with 20 additions and 17 deletions

View File

@ -76,6 +76,8 @@ namespace OpenSim.Region.Environment.Modules
IClientAPI clientView = (IClientAPI)sender;
CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(clientView.AgentId);
if (profile != null)
{
if (profile.RootFolder != null)
{
//Todo look up the assetid from the inventory cache (or something) for each itemId that is in AvatarWearingArgs
// then store assetid and itemId and wearable type in a database
@ -102,6 +104,7 @@ namespace OpenSim.Region.Environment.Modules
}
}
}
}
public static void GetDefaultAvatarAppearance(out AvatarWearable[] wearables, out byte[] visualParams)
{