Fixed a couple of bugs with Appearance. Appearance is all good now.

This commit is contained in:
Diva Canto
2010-01-11 17:30:05 -08:00
parent 4e7c449c5a
commit 77e43f4801
16 changed files with 124 additions and 68 deletions

View File

@@ -73,6 +73,12 @@ namespace OpenSim.Services.AvatarService
public bool SetAvatar(UUID principalID, AvatarData avatar)
{
int count = 0;
foreach (KeyValuePair<string, string> kvp in avatar.Data)
if (kvp.Key.StartsWith("_"))
count++;
m_log.DebugFormat("[AVATAR SERVICE]: SetAvatar for {0}, attachs={1}", principalID, count);
m_Database.Delete("PrincipalID", principalID.ToString());
AvatarBaseData av = new AvatarBaseData();