mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
i can haz pantz?
You sure can. This change set restores pants (and the rest of the default appearance) in grid mode. The root issue had to do with serializing multi-faced textures to the grid server. This also restores the lookup path through the avatar factory module, as that seems the reasonable place to have it live. Some clean up patches are coming later as well, plus testing on standalone, but this should be in a good kicking around state for grid users.
This commit is contained in:
@@ -60,15 +60,12 @@ namespace OpenSim.Data
|
||||
public abstract void Initialise(string connect);
|
||||
public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query);
|
||||
public AvatarAppearance GetUserAppearance(LLUUID user) {
|
||||
AvatarAppearance aa;
|
||||
AvatarAppearance aa = null;
|
||||
try {
|
||||
aa = aplist[user];
|
||||
m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString());
|
||||
} catch (System.Collections.Generic.KeyNotFoundException e) {
|
||||
aplist[user] = new AvatarAppearance();
|
||||
aplist[user].Owner = user;
|
||||
aa = aplist[user];
|
||||
m_log.Info("[APPEARANCE] Setting up default appearance for " + user.ToString() + aa.ToString());
|
||||
m_log.Info("[APPEARANCE] No appearance found for " + user.ToString());
|
||||
}
|
||||
return aa;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user