diff options
author | Jeff Ames | 2008-05-28 03:44:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-28 03:44:49 +0000 |
commit | 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch) | |
tree | ea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/Region/Modules | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Modules')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index 6d88061..1a65c8d 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -157,7 +157,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
157 | { | 157 | { |
158 | IClientAPI clientView = (IClientAPI)sender; | 158 | IClientAPI clientView = (IClientAPI)sender; |
159 | ScenePresence avatar = m_scene.GetScenePresence(clientView.AgentId); | 159 | ScenePresence avatar = m_scene.GetScenePresence(clientView.AgentId); |
160 | if(avatar == null) { | 160 | if (avatar == null) { |
161 | m_log.Info("Avatar is child agent, ignoring AvatarIsWearing event"); | 161 | m_log.Info("Avatar is child agent, ignoring AvatarIsWearing event"); |
162 | return; | 162 | return; |
163 | } | 163 | } |
@@ -165,7 +165,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
165 | CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(clientView.AgentId); | 165 | CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(clientView.AgentId); |
166 | 166 | ||
167 | AvatarAppearance avatAppearance = null; | 167 | AvatarAppearance avatAppearance = null; |
168 | if(!TryGetAvatarAppearance(clientView.AgentId, out avatAppearance)) { | 168 | if (!TryGetAvatarAppearance(clientView.AgentId, out avatAppearance)) { |
169 | m_log.Info("We didn't seem to find the appearance, falling back to ScenePresense"); | 169 | m_log.Info("We didn't seem to find the appearance, falling back to ScenePresense"); |
170 | avatAppearance = avatar.Appearance; | 170 | avatAppearance = avatar.Appearance; |
171 | } | 171 | } |