From baa29fcbff05c37a1a9192999bc55cee81cfe511 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 28 Oct 2008 15:46:30 +0000
Subject: * minor: Doc and log message tidy up * reinstate debug level log
message indicating when a child agent is made a root for future debugging
purposes
---
OpenSim/Region/Environment/Scenes/Scene.cs | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 0f96cf2..8d94c68 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2486,6 +2486,12 @@ namespace OpenSim.Region.Environment.Scenes
}
}
+ ///
+ /// Create a scene presence and add it to this scene.
+ ///
+ ///
+ ///
+ ///
protected virtual ScenePresence CreateAndAddScenePresence(IClientAPI client, bool child)
{
AvatarAppearance appearance = null;
@@ -2515,11 +2521,11 @@ namespace OpenSim.Region.Environment.Scenes
}
catch (Exception e)
{
- m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}, {2}",
- client.Name, client.AgentId, e.ToString());
+ m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}",
+ client.Name, e);
}
+
m_log.Warn("[APPEARANCE]: Appearance not found, returning default");
-
}
///
--
cgit v1.1