diff options
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
Diffstat (limited to 'OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index 43b492a..671b854 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
54 | //if ((profile != null) && (profile.RootFolder != null)) | 54 | //if ((profile != null) && (profile.RootFolder != null)) |
55 | if (profile != null) | 55 | if (profile != null) |
56 | { | 56 | { |
57 | appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId); | 57 | appearance = m_scene.CommsManager.AvatarService.GetUserAppearance(avatarId); |
58 | if (appearance != null) | 58 | if (appearance != null) |
59 | { | 59 | { |
60 | //SetAppearanceAssets(profile, ref appearance); | 60 | //SetAppearanceAssets(profile, ref appearance); |
@@ -185,7 +185,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
185 | } | 185 | } |
186 | SetAppearanceAssets(profile, ref avatAppearance); | 186 | SetAppearanceAssets(profile, ref avatAppearance); |
187 | 187 | ||
188 | m_scene.CommsManager.UserService.UpdateUserAppearance(clientView.AgentId, avatAppearance); | 188 | m_scene.CommsManager.AvatarService.UpdateUserAppearance(clientView.AgentId, avatAppearance); |
189 | avatar.Appearance = avatAppearance; | 189 | avatar.Appearance = avatAppearance; |
190 | } | 190 | } |
191 | else | 191 | else |
@@ -203,7 +203,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
203 | 203 | ||
204 | public void UpdateDatabase(LLUUID user, AvatarAppearance appearance) | 204 | public void UpdateDatabase(LLUUID user, AvatarAppearance appearance) |
205 | { | 205 | { |
206 | m_scene.CommsManager.UserService.UpdateUserAppearance(user, appearance); | 206 | m_scene.CommsManager.AvatarService.UpdateUserAppearance(user, appearance); |
207 | } | 207 | } |
208 | 208 | ||
209 | private static byte[] GetDefaultVisualParams() | 209 | private static byte[] GetDefaultVisualParams() |