aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Modules/AvatarFactory
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs4
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 }