aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AvatarService/AvatarService.cs
diff options
context:
space:
mode:
authorDiva Canto2010-01-11 17:30:05 -0800
committerDiva Canto2010-01-11 17:30:05 -0800
commit77e43f480154b0a950d9d5f54df5c225fc64e77a (patch)
tree48f1806bd8b0d0f50aef89846bcc186d3ad3eb74 /OpenSim/Services/AvatarService/AvatarService.cs
parentThis fixes the problem that region modules (new style) weren't being recognized. (diff)
downloadopensim-SC_OLD-77e43f480154b0a950d9d5f54df5c225fc64e77a.zip
opensim-SC_OLD-77e43f480154b0a950d9d5f54df5c225fc64e77a.tar.gz
opensim-SC_OLD-77e43f480154b0a950d9d5f54df5c225fc64e77a.tar.bz2
opensim-SC_OLD-77e43f480154b0a950d9d5f54df5c225fc64e77a.tar.xz
Fixed a couple of bugs with Appearance. Appearance is all good now.
Diffstat (limited to 'OpenSim/Services/AvatarService/AvatarService.cs')
-rw-r--r--OpenSim/Services/AvatarService/AvatarService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/AvatarService/AvatarService.cs b/OpenSim/Services/AvatarService/AvatarService.cs
index 0b351a2..19e662c 100644
--- a/OpenSim/Services/AvatarService/AvatarService.cs
+++ b/OpenSim/Services/AvatarService/AvatarService.cs
@@ -73,6 +73,12 @@ namespace OpenSim.Services.AvatarService
73 73
74 public bool SetAvatar(UUID principalID, AvatarData avatar) 74 public bool SetAvatar(UUID principalID, AvatarData avatar)
75 { 75 {
76 int count = 0;
77 foreach (KeyValuePair<string, string> kvp in avatar.Data)
78 if (kvp.Key.StartsWith("_"))
79 count++;
80
81 m_log.DebugFormat("[AVATAR SERVICE]: SetAvatar for {0}, attachs={1}", principalID, count);
76 m_Database.Delete("PrincipalID", principalID.ToString()); 82 m_Database.Delete("PrincipalID", principalID.ToString());
77 83
78 AvatarBaseData av = new AvatarBaseData(); 84 AvatarBaseData av = new AvatarBaseData();