diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 0caec5b..659aaa6 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2114,6 +2114,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
2114 | public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance) | 2114 | public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance) |
2115 | { | 2115 | { |
2116 | AgentCircuitData aCircuit = m_authenticateHandler.GetAgentCircuitData(client.CircuitCode); | 2116 | AgentCircuitData aCircuit = m_authenticateHandler.GetAgentCircuitData(client.CircuitCode); |
2117 | |||
2118 | if(aCircuit == null) | ||
2119 | { | ||
2120 | m_log.DebugFormat("[APPEARANCE] Client did not supply a circuit. Non-Linden? Creating default appearance."); | ||
2121 | appearance = new AvatarAppearance(client.AgentId); | ||
2122 | return; | ||
2123 | } | ||
2124 | |||
2117 | appearance = aCircuit.Appearance; | 2125 | appearance = aCircuit.Appearance; |
2118 | if (appearance == null) | 2126 | if (appearance == null) |
2119 | { | 2127 | { |