mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Fixed a couple of bugs with Appearance. Appearance is all good now.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user