diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index d7af562..cda7113 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -180,9 +180,9 @@ namespace OpenSim.Services.Interfaces | |||
180 | } | 180 | } |
181 | } | 181 | } |
182 | 182 | ||
183 | public AvatarAppearance ToAvatarAppearance(UUID owner) | 183 | public AvatarAppearance ToAvatarAppearance() |
184 | { | 184 | { |
185 | AvatarAppearance appearance = new AvatarAppearance(owner); | 185 | AvatarAppearance appearance = new AvatarAppearance(); |
186 | 186 | ||
187 | if (Data.Count == 0) | 187 | if (Data.Count == 0) |
188 | return appearance; | 188 | return appearance; |
@@ -262,7 +262,6 @@ namespace OpenSim.Services.Interfaces | |||
262 | UUID.Parse(Data["SkirtItem"]), | 262 | UUID.Parse(Data["SkirtItem"]), |
263 | UUID.Parse(Data["SkirtAsset"])); | 263 | UUID.Parse(Data["SkirtAsset"])); |
264 | 264 | ||
265 | |||
266 | if (Data.ContainsKey("VisualParams")) | 265 | if (Data.ContainsKey("VisualParams")) |
267 | { | 266 | { |
268 | string[] vps = Data["VisualParams"].Split(new char[] {','}); | 267 | string[] vps = Data["VisualParams"].Split(new char[] {','}); |
@@ -291,7 +290,6 @@ namespace OpenSim.Services.Interfaces | |||
291 | } | 290 | } |
292 | } | 291 | } |
293 | 292 | ||
294 | |||
295 | // Attachments | 293 | // Attachments |
296 | Dictionary<string, string> attchs = new Dictionary<string, string>(); | 294 | Dictionary<string, string> attchs = new Dictionary<string, string>(); |
297 | foreach (KeyValuePair<string, string> _kvp in Data) | 295 | foreach (KeyValuePair<string, string> _kvp in Data) |
@@ -308,7 +306,7 @@ namespace OpenSim.Services.Interfaces | |||
308 | UUID uuid = UUID.Zero; | 306 | UUID uuid = UUID.Zero; |
309 | UUID.TryParse(_kvp.Value, out uuid); | 307 | UUID.TryParse(_kvp.Value, out uuid); |
310 | 308 | ||
311 | appearance.SetAttachment(point,uuid,UUID.Zero); | 309 | appearance.SetAttachment(point, uuid, UUID.Zero); |
312 | } | 310 | } |
313 | 311 | ||
314 | if (appearance.Wearables[AvatarWearable.BODY].Count == 0) | 312 | if (appearance.Wearables[AvatarWearable.BODY].Count == 0) |