aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules
diff options
context:
space:
mode:
authorMW2008-06-28 17:43:20 +0000
committerMW2008-06-28 17:43:20 +0000
commita9347b6ceb194a352ad2a5796e7ed7e8fc598c26 (patch)
tree2392880066755967ae0716a0d06b44247025e510 /OpenSim/Region/Modules
parentComment out StringTest until we use it somewhere. (diff)
downloadopensim-SC-a9347b6ceb194a352ad2a5796e7ed7e8fc598c26.zip
opensim-SC-a9347b6ceb194a352ad2a5796e7ed7e8fc598c26.tar.gz
opensim-SC-a9347b6ceb194a352ad2a5796e7ed7e8fc598c26.tar.bz2
opensim-SC-a9347b6ceb194a352ad2a5796e7ed7e8fc598c26.tar.xz
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')
-rw-r--r--OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs6
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()