diff options
author | Sean Dague | 2008-05-21 18:02:09 +0000 |
---|---|---|
committer | Sean Dague | 2008-05-21 18:02:09 +0000 |
commit | 53bcf2139e7c8c9da2fbbcafc45704eae3bc5daa (patch) | |
tree | 6773914f9fd12e53240ce7c3ce8dad3e47ed9a1d /OpenSim/Data/UserDataBase.cs | |
parent | IZ QUATERNION NORMALIZE TO 0? NOWAI! KTHXBYE (diff) | |
download | opensim-SC-53bcf2139e7c8c9da2fbbcafc45704eae3bc5daa.zip opensim-SC-53bcf2139e7c8c9da2fbbcafc45704eae3bc5daa.tar.gz opensim-SC-53bcf2139e7c8c9da2fbbcafc45704eae3bc5daa.tar.bz2 opensim-SC-53bcf2139e7c8c9da2fbbcafc45704eae3bc5daa.tar.xz |
this removes use of the mapper for wearables, and I can confirm things
get saved to the database. There are still issues on wearing things
after a cleared cache that I'm looking at now.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/UserDataBase.cs | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs index ad40bbc..cbf24a7 100644 --- a/OpenSim/Data/UserDataBase.cs +++ b/OpenSim/Data/UserDataBase.cs | |||
@@ -59,20 +59,22 @@ namespace OpenSim.Data | |||
59 | public abstract string Name {get;} | 59 | public abstract string Name {get;} |
60 | public abstract void Initialise(string connect); | 60 | public abstract void Initialise(string connect); |
61 | public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | 61 | public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); |
62 | public virtual AvatarAppearance GetUserAppearance(LLUUID user) { | 62 | public abstract AvatarAppearance GetUserAppearance(LLUUID user); |
63 | AvatarAppearance aa = null; | 63 | public abstract void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance); |
64 | try { | 64 | // public virtual AvatarAppearance GetUserAppearance(LLUUID user) { |
65 | aa = aplist[user]; | 65 | // AvatarAppearance aa = null; |
66 | m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); | 66 | // try { |
67 | } catch (System.Collections.Generic.KeyNotFoundException e) { | 67 | // aa = aplist[user]; |
68 | m_log.Info("[APPEARANCE] No appearance found for " + user.ToString()); | 68 | // m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); |
69 | } | 69 | // } catch (System.Collections.Generic.KeyNotFoundException e) { |
70 | return aa; | 70 | // m_log.Info("[APPEARANCE] No appearance found for " + user.ToString()); |
71 | } | 71 | // } |
72 | public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { | 72 | // return aa; |
73 | aplist[user] = appearance; | 73 | // } |
74 | m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString()); | 74 | // public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { |
75 | } | 75 | // aplist[user] = appearance; |
76 | // m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString()); | ||
77 | // } | ||
76 | public abstract void AddAttachment(LLUUID user, LLUUID item); | 78 | public abstract void AddAttachment(LLUUID user, LLUUID item); |
77 | public abstract void RemoveAttachment(LLUUID user, LLUUID item); | 79 | public abstract void RemoveAttachment(LLUUID user, LLUUID item); |
78 | public abstract List<LLUUID> GetAttachments(LLUUID user); | 80 | public abstract List<LLUUID> GetAttachments(LLUUID user); |