mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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
This commit is contained in:
@@ -62,19 +62,19 @@ namespace OpenSim.Data
|
||||
public AvatarAppearance GetUserAppearance(LLUUID user) {
|
||||
AvatarAppearance aa;
|
||||
try {
|
||||
m_log.Info("[APPEARANCE] Found appearance for " + user.ToString());
|
||||
aa = aplist[user];
|
||||
m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString());
|
||||
} catch (System.Collections.Generic.KeyNotFoundException e) {
|
||||
m_log.Info("[APPEARANCE] Setting up default appearance for " + user.ToString());
|
||||
aplist[user] = new AvatarAppearance();
|
||||
aplist[user].Owner = user;
|
||||
aa = aplist[user];
|
||||
m_log.Info("[APPEARANCE] Setting up default appearance for " + user.ToString() + aa.ToString());
|
||||
}
|
||||
return aa;
|
||||
}
|
||||
public void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
|
||||
aplist[user] = appearance;
|
||||
m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString());
|
||||
m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString() );
|
||||
}
|
||||
public abstract void AddAttachment(LLUUID user, LLUUID item);
|
||||
public abstract void RemoveAttachment(LLUUID user, LLUUID item);
|
||||
|
||||
Reference in New Issue
Block a user