A small improvement in the UserLoginService, hence the User Server: users are now being given a default appearance if there is none in the user database. This issue affected newly created accounts, which aren't given an appearance at time of creation. May address some of the issues reported in mantis #3204 (but the incompatibility with pre-8447 is unaffected and continues to exist).

GenericGridServerConcept
diva 2009-02-21 17:44:33 +00:00
parent 913887a8e5
commit 23e78e4476
1 changed files with 5 additions and 2 deletions

View File

@ -401,10 +401,13 @@ namespace OpenSim.Grid.UserServer
if (appearance != null)
{
loginParams["appearance"] = appearance.ToHashTable();
m_log.DebugFormat("[LOGIN]: Found appearance for {0}, {1}", user.FirstName, user.SurName);
m_log.DebugFormat("[LOGIN]: Found appearance for {0} {1}", user.FirstName, user.SurName);
}
else
m_log.DebugFormat("[LOGIN]: Appearance not for {0}, {1}", user.FirstName, user.SurName);
{
m_log.DebugFormat("[LOGIN]: Appearance not for {0} {1}. Creating default.", user.FirstName, user.SurName);
appearance = new AvatarAppearance();
}
ArrayList SendParams = new ArrayList();
SendParams.Add(loginParams);