Bug fix: if user doesn't have an avatar in storage, create one upon first login.
parent
d939668d6a
commit
e09c9fbe14
|
@ -376,6 +376,9 @@ namespace OpenSim.Services.LLLoginService
|
||||||
aCircuit.AgentID = account.PrincipalID;
|
aCircuit.AgentID = account.PrincipalID;
|
||||||
if (avatar != null)
|
if (avatar != null)
|
||||||
aCircuit.Appearance = avatar.ToAvatarAppearance(account.PrincipalID);
|
aCircuit.Appearance = avatar.ToAvatarAppearance(account.PrincipalID);
|
||||||
|
else
|
||||||
|
aCircuit.Appearance = new AvatarAppearance(account.PrincipalID);
|
||||||
|
|
||||||
//aCircuit.BaseFolder = irrelevant
|
//aCircuit.BaseFolder = irrelevant
|
||||||
aCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath();
|
aCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath();
|
||||||
aCircuit.child = false; // the first login agent is root
|
aCircuit.child = false; // the first login agent is root
|
||||||
|
|
Loading…
Reference in New Issue