Extracted the Avatar appearance functions out of the IUserService interface and moved them into a IAvatarService

Although "out of the box", there is no actual functional change to behavior
This commit is contained in:
MW
2008-06-28 17:43:20 +00:00
parent 7a255d4404
commit a9347b6ceb
6 changed files with 19 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ namespace OpenSim.Region.Modules.AvatarFactory
//if ((profile != null) && (profile.RootFolder != null))
if (profile != null)
{
appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId);
appearance = m_scene.CommsManager.AvatarService.GetUserAppearance(avatarId);
if (appearance != null)
{
//SetAppearanceAssets(profile, ref appearance);
@@ -185,7 +185,7 @@ namespace OpenSim.Region.Modules.AvatarFactory
}
SetAppearanceAssets(profile, ref avatAppearance);
m_scene.CommsManager.UserService.UpdateUserAppearance(clientView.AgentId, avatAppearance);
m_scene.CommsManager.AvatarService.UpdateUserAppearance(clientView.AgentId, avatAppearance);
avatar.Appearance = avatAppearance;
}
else
@@ -203,7 +203,7 @@ namespace OpenSim.Region.Modules.AvatarFactory
public void UpdateDatabase(LLUUID user, AvatarAppearance appearance)
{
m_scene.CommsManager.UserService.UpdateUserAppearance(user, appearance);
m_scene.CommsManager.AvatarService.UpdateUserAppearance(user, appearance);
}
private static byte[] GetDefaultVisualParams()