aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2010-01-13 10:20:02 -0800
committerDiva Canto2010-01-13 10:20:02 -0800
commite09c9fbe14ccb42397fc52d4442c13716633d23e (patch)
tree6369df31931788dcf2a2752de5fbf0951e3748be /OpenSim
parentBug fix in create user: create inventory was missing. (diff)
downloadopensim-SC_OLD-e09c9fbe14ccb42397fc52d4442c13716633d23e.zip
opensim-SC_OLD-e09c9fbe14ccb42397fc52d4442c13716633d23e.tar.gz
opensim-SC_OLD-e09c9fbe14ccb42397fc52d4442c13716633d23e.tar.bz2
opensim-SC_OLD-e09c9fbe14ccb42397fc52d4442c13716633d23e.tar.xz
Bug fix: if user doesn't have an avatar in storage, create one upon first login.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index e9c18ec..7b928b1 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -376,6 +376,9 @@ namespace OpenSim.Services.LLLoginService
376 aCircuit.AgentID = account.PrincipalID; 376 aCircuit.AgentID = account.PrincipalID;
377 if (avatar != null) 377 if (avatar != null)
378 aCircuit.Appearance = avatar.ToAvatarAppearance(account.PrincipalID); 378 aCircuit.Appearance = avatar.ToAvatarAppearance(account.PrincipalID);
379 else
380 aCircuit.Appearance = new AvatarAppearance(account.PrincipalID);
381
379 //aCircuit.BaseFolder = irrelevant 382 //aCircuit.BaseFolder = irrelevant
380 aCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath(); 383 aCircuit.CapsPath = CapsUtil.GetRandomCapsObjectPath();
381 aCircuit.child = false; // the first login agent is root 384 aCircuit.child = false; // the first login agent is root