don't trust appearance assetid, instead do an inventory

lookup any time we get it from the server.  This should
preventent unwearable appearance.
This commit is contained in:
Sean Dague
2008-05-22 20:07:31 +00:00
parent 811cd3e0bf
commit 1c49752a44
3 changed files with 58 additions and 38 deletions

View File

@@ -1801,8 +1801,7 @@ namespace OpenSim.Region.Environment.Scenes
!m_AvatarFactory.TryGetAvatarAppearance(client.AgentId, out appearance))
{
// not found Appearance
m_log.Warn("[AVATAR DEBUGGING]: Couldn't fetch avatar appearance from factory, please report this to the opensim mantis");
appearance = new AvatarAppearance();
m_log.Warn("[APPEARANCE]: Appearance not found, creating default");
}
}