aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorSean Dague2008-05-16 00:04:46 +0000
committerSean Dague2008-05-16 00:04:46 +0000
commitfc773649720c062a72d1b8a098eb54bda9a84ca9 (patch)
tree111e4fcfb6bd112d744876d258e487556746ee02 /OpenSim/Data
parent* Adds various tweakable avatar control options to the OpenSim.ini.example. (diff)
downloadopensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.zip
opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.tar.gz
opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.tar.bz2
opensim-SC-fc773649720c062a72d1b8a098eb54bda9a84ca9.tar.xz
appearance now survives logout. Tommorrow will involve moving
the MSSQL and MYSQL mappers back in under datastores and looking at doing gid bits for this
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/UserDataBase.cs6
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);