make the super class conveniance appearance stuff virtual
so they can be overrided correctly by subclasses0.6.0-stable
parent
7a52b35c57
commit
d1c4fc94e7
|
@ -656,7 +656,7 @@ namespace OpenSim.Data.MySQL
|
|||
/// Appearance
|
||||
/// TODO: stubs for now to get us to a compiling state gently
|
||||
// override
|
||||
public AvatarAppearance GetUserAppearance(LLUUID user)
|
||||
override public AvatarAppearance GetUserAppearance(LLUUID user)
|
||||
{
|
||||
AvatarAppearance appearance = null;
|
||||
if (!m_appearanceMapper.TryGetValue(user.UUID, out appearance))
|
||||
|
@ -667,7 +667,7 @@ namespace OpenSim.Data.MySQL
|
|||
}
|
||||
|
||||
// override
|
||||
public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
|
||||
override public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance)
|
||||
{
|
||||
m_appearanceMapper.Update(user.UUID, appearance);
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ namespace OpenSim.Data
|
|||
public abstract string Name {get;}
|
||||
public abstract void Initialise(string connect);
|
||||
public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query);
|
||||
public AvatarAppearance GetUserAppearance(LLUUID user) {
|
||||
public virtual AvatarAppearance GetUserAppearance(LLUUID user) {
|
||||
AvatarAppearance aa = null;
|
||||
try {
|
||||
aa = aplist[user];
|
||||
|
@ -69,7 +69,7 @@ namespace OpenSim.Data
|
|||
}
|
||||
return aa;
|
||||
}
|
||||
public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
|
||||
public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
|
||||
aplist[user] = appearance;
|
||||
m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue