diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 12 |
1 files changed, 9 insertions, 3 deletions
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 | |||
2486 | } | 2486 | } |
2487 | } | 2487 | } |
2488 | 2488 | ||
2489 | /// <summary> | ||
2490 | /// Create a scene presence and add it to this scene. | ||
2491 | /// </summary> | ||
2492 | /// <param name="client"></param> | ||
2493 | /// <param name="child"></param> | ||
2494 | /// <returns></returns> | ||
2489 | protected virtual ScenePresence CreateAndAddScenePresence(IClientAPI client, bool child) | 2495 | protected virtual ScenePresence CreateAndAddScenePresence(IClientAPI client, bool child) |
2490 | { | 2496 | { |
2491 | AvatarAppearance appearance = null; | 2497 | AvatarAppearance appearance = null; |
@@ -2515,11 +2521,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
2515 | } | 2521 | } |
2516 | catch (Exception e) | 2522 | catch (Exception e) |
2517 | { | 2523 | { |
2518 | m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}, {2}", | 2524 | m_log.ErrorFormat("[APPEARANCE]: Problem fetching appearance for avatar {0}, {1}", |
2519 | client.Name, client.AgentId, e.ToString()); | 2525 | client.Name, e); |
2520 | } | 2526 | } |
2527 | |||
2521 | m_log.Warn("[APPEARANCE]: Appearance not found, returning default"); | 2528 | m_log.Warn("[APPEARANCE]: Appearance not found, returning default"); |
2522 | |||
2523 | } | 2529 | } |
2524 | 2530 | ||
2525 | /// <summary> | 2531 | /// <summary> |