Formatting cleanup.

This commit is contained in:
Jeff Ames
2008-05-28 03:44:49 +00:00
parent e34f537a1a
commit 5752c1f5c2
23 changed files with 206 additions and 204 deletions

View File

@@ -157,7 +157,7 @@ namespace OpenSim.Region.Modules.AvatarFactory
{
IClientAPI clientView = (IClientAPI)sender;
ScenePresence avatar = m_scene.GetScenePresence(clientView.AgentId);
if(avatar == null) {
if (avatar == null) {
m_log.Info("Avatar is child agent, ignoring AvatarIsWearing event");
return;
}
@@ -165,7 +165,7 @@ namespace OpenSim.Region.Modules.AvatarFactory
CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(clientView.AgentId);
AvatarAppearance avatAppearance = null;
if(!TryGetAvatarAppearance(clientView.AgentId, out avatAppearance)) {
if (!TryGetAvatarAppearance(clientView.AgentId, out avatAppearance)) {
m_log.Info("We didn't seem to find the appearance, falling back to ScenePresense");
avatAppearance = avatar.Appearance;
}