aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-25 23:27:38 +0000
committerJeff Ames2008-05-25 23:27:38 +0000
commit5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d (patch)
treeb010c015ac515fe2a3dd0c9f89c16cbc6383d685 /OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs
parent* A hacky Top Scripts display. It isn't accurate as far as ms accounting, ho... (diff)
downloadopensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.zip
opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.tar.gz
opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.tar.bz2
opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.tar.xz
Update svn properties. Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs')
-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