From e09c9fbe14ccb42397fc52d4442c13716633d23e Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Wed, 13 Jan 2010 10:20:02 -0800 Subject: [PATCH] Bug fix: if user doesn't have an avatar in storage, create one upon first login. --- OpenSim/Services/LLLoginService/LLLoginService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index e9c18eceb4..7b928b1536 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs @@ -376,6 +376,9 @@ namespace OpenSim.Services.LLLoginService aCircuit.AgentID = account.PrincipalID; if (avatar != null) aCircuit.Appearance = avatar.ToAvatarAppearance(account.PrincipalID); + else + aCircuit.Appearance = new AvatarAppearance(account.PrincipalID); + //aCircuit.BaseFolder = irrelevant aCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath(); aCircuit.child = false; // the first login agent is root