diff options
Diffstat (limited to 'OpenSim/Data/UserDataBase.cs')
-rw-r--r-- | OpenSim/Data/UserDataBase.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs index 7066f58..817ac3e 100644 --- a/OpenSim/Data/UserDataBase.cs +++ b/OpenSim/Data/UserDataBase.cs | |||
@@ -62,19 +62,19 @@ namespace OpenSim.Data | |||
62 | public AvatarAppearance GetUserAppearance(LLUUID user) { | 62 | public AvatarAppearance GetUserAppearance(LLUUID user) { |
63 | AvatarAppearance aa; | 63 | AvatarAppearance aa; |
64 | try { | 64 | try { |
65 | m_log.Info("[APPEARANCE] Found appearance for " + user.ToString()); | ||
66 | aa = aplist[user]; | 65 | aa = aplist[user]; |
66 | m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); | ||
67 | } catch (System.Collections.Generic.KeyNotFoundException e) { | 67 | } catch (System.Collections.Generic.KeyNotFoundException e) { |
68 | m_log.Info("[APPEARANCE] Setting up default appearance for " + user.ToString()); | ||
69 | aplist[user] = new AvatarAppearance(); | 68 | aplist[user] = new AvatarAppearance(); |
70 | aplist[user].Owner = user; | 69 | aplist[user].Owner = user; |
71 | aa = aplist[user]; | 70 | aa = aplist[user]; |
71 | m_log.Info("[APPEARANCE] Setting up default appearance for " + user.ToString() + aa.ToString()); | ||
72 | } | 72 | } |
73 | return aa; | 73 | return aa; |
74 | } | 74 | } |
75 | public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { | 75 | public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { |
76 | aplist[user] = appearance; | 76 | aplist[user] = appearance; |
77 | m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString()); | 77 | m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString() ); |
78 | } | 78 | } |
79 | public abstract void AddAttachment(LLUUID user, LLUUID item); | 79 | public abstract void AddAttachment(LLUUID user, LLUUID item); |
80 | public abstract void RemoveAttachment(LLUUID user, LLUUID item); | 80 | public abstract void RemoveAttachment(LLUUID user, LLUUID item); |