aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Modules')
-rw-r--r--OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
index e66113d..6d88061 100644
--- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
@@ -51,10 +51,10 @@ namespace OpenSim.Region.Modules.AvatarFactory
51 public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance) 51 public bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance)
52 { 52 {
53 CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(avatarId); 53 CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(avatarId);
54 if ((profile != null) && (profile.RootFolder != null)) 54 if ((profile != null) && (profile.RootFolder != null))
55 { 55 {
56 appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId); 56 appearance = m_scene.CommsManager.UserService.GetUserAppearance(avatarId);
57 if (appearance != null) 57 if (appearance != null)
58 { 58 {
59 SetAppearanceAssets(profile, ref appearance); 59 SetAppearanceAssets(profile, ref appearance);
60 m_log.InfoFormat("[APPEARANCE] found : {0}", appearance.ToString()); 60 m_log.InfoFormat("[APPEARANCE] found : {0}", appearance.ToString());
@@ -182,9 +182,9 @@ namespace OpenSim.Region.Modules.AvatarFactory
182 } 182 }
183 } 183 }
184 SetAppearanceAssets(profile, ref avatAppearance); 184 SetAppearanceAssets(profile, ref avatAppearance);
185 185
186 m_scene.CommsManager.UserService.UpdateUserAppearance(clientView.AgentId, avatAppearance); 186 m_scene.CommsManager.UserService.UpdateUserAppearance(clientView.AgentId, avatAppearance);
187 avatar.Appearance = avatAppearance; 187 avatar.Appearance = avatAppearance;
188 } 188 }
189 else 189 else
190 { 190 {
@@ -200,7 +200,7 @@ namespace OpenSim.Region.Modules.AvatarFactory
200 } 200 }
201 201
202 public void UpdateDatabase(LLUUID user, AvatarAppearance appearance) 202 public void UpdateDatabase(LLUUID user, AvatarAppearance appearance)
203 { 203 {
204 m_scene.CommsManager.UserService.UpdateUserAppearance(user, appearance); 204 m_scene.CommsManager.UserService.UpdateUserAppearance(user, appearance);
205 } 205 }
206 206