aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/UserDataBase.cs
diff options
context:
space:
mode:
authorSean Dague2008-05-19 20:49:57 +0000
committerSean Dague2008-05-19 20:49:57 +0000
commitd1c4fc94e7cdec807558dd692c249c90519d1af1 (patch)
tree5219bd3438410a9ff81773b47018b0ce7055b594 /OpenSim/Data/UserDataBase.cs
parentfix crash in standalone mode for initial appearance setup (diff)
downloadopensim-SC_OLD-d1c4fc94e7cdec807558dd692c249c90519d1af1.zip
opensim-SC_OLD-d1c4fc94e7cdec807558dd692c249c90519d1af1.tar.gz
opensim-SC_OLD-d1c4fc94e7cdec807558dd692c249c90519d1af1.tar.bz2
opensim-SC_OLD-d1c4fc94e7cdec807558dd692c249c90519d1af1.tar.xz
make the super class conveniance appearance stuff virtual
so they can be overrided correctly by subclasses
Diffstat (limited to 'OpenSim/Data/UserDataBase.cs')
-rw-r--r--OpenSim/Data/UserDataBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs
index 57f4564..ad40bbc 100644
--- a/OpenSim/Data/UserDataBase.cs
+++ b/OpenSim/Data/UserDataBase.cs
@@ -59,7 +59,7 @@ 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 AvatarAppearance GetUserAppearance(LLUUID user) { 62 public virtual AvatarAppearance GetUserAppearance(LLUUID user) {
63 AvatarAppearance aa = null; 63 AvatarAppearance aa = null;
64 try { 64 try {
65 aa = aplist[user]; 65 aa = aplist[user];
@@ -69,7 +69,7 @@ namespace OpenSim.Data
69 } 69 }
70 return aa; 70 return aa;
71 } 71 }
72 public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { 72 public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
73 aplist[user] = appearance; 73 aplist[user] = appearance;
74 m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString()); 74 m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString());
75 } 75 }