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).
parent
913887a8e5
commit
23e78e4476
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue