mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
* Fixes an assumption whereby Scene assumes that each client is capable of producing a circuit. This affects non-Linden derived viewers who do not utilize circuits.
This commit is contained in:
@@ -2114,6 +2114,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public void GetAvatarAppearance(IClientAPI client, out AvatarAppearance appearance)
|
||||
{
|
||||
AgentCircuitData aCircuit = m_authenticateHandler.GetAgentCircuitData(client.CircuitCode);
|
||||
|
||||
if(aCircuit == null)
|
||||
{
|
||||
m_log.DebugFormat("[APPEARANCE] Client did not supply a circuit. Non-Linden? Creating default appearance.");
|
||||
appearance = new AvatarAppearance(client.AgentId);
|
||||
return;
|
||||
}
|
||||
|
||||
appearance = aCircuit.Appearance;
|
||||
if (appearance == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user