diff options
author | diva | 2009-02-21 17:44:33 +0000 |
---|---|---|
committer | diva | 2009-02-21 17:44:33 +0000 |
commit | 23e78e44765f74cb2a209e0acdac0115f03677d3 (patch) | |
tree | 9672355081ca126c4bc9df2c9434011998efc57d | |
parent | Some more refactoring of GridServer. (diff) | |
download | opensim-SC_OLD-23e78e44765f74cb2a209e0acdac0115f03677d3.zip opensim-SC_OLD-23e78e44765f74cb2a209e0acdac0115f03677d3.tar.gz opensim-SC_OLD-23e78e44765f74cb2a209e0acdac0115f03677d3.tar.bz2 opensim-SC_OLD-23e78e44765f74cb2a209e0acdac0115f03677d3.tar.xz |
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).
-rw-r--r-- | OpenSim/Grid/UserServer/UserLoginService.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index 4878c03..c180565 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs | |||
@@ -401,10 +401,13 @@ namespace OpenSim.Grid.UserServer | |||
401 | if (appearance != null) | 401 | if (appearance != null) |
402 | { | 402 | { |
403 | loginParams["appearance"] = appearance.ToHashTable(); | 403 | loginParams["appearance"] = appearance.ToHashTable(); |
404 | m_log.DebugFormat("[LOGIN]: Found appearance for {0}, {1}", user.FirstName, user.SurName); | 404 | m_log.DebugFormat("[LOGIN]: Found appearance for {0} {1}", user.FirstName, user.SurName); |
405 | } | 405 | } |
406 | else | 406 | else |
407 | m_log.DebugFormat("[LOGIN]: Appearance not for {0}, {1}", user.FirstName, user.SurName); | 407 | { |
408 | m_log.DebugFormat("[LOGIN]: Appearance not for {0} {1}. Creating default.", user.FirstName, user.SurName); | ||
409 | appearance = new AvatarAppearance(); | ||
410 | } | ||
408 | 411 | ||
409 | ArrayList SendParams = new ArrayList(); | 412 | ArrayList SendParams = new ArrayList(); |
410 | SendParams.Add(loginParams); | 413 | SendParams.Add(loginParams); |