aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IAvatarService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/Interfaces/IAvatarService.cs')
-rw-r--r--OpenSim/Services/Interfaces/IAvatarService.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs
index 606e82c..6ca0b15 100644
--- a/OpenSim/Services/Interfaces/IAvatarService.cs
+++ b/OpenSim/Services/Interfaces/IAvatarService.cs
@@ -311,10 +311,16 @@ namespace OpenSim.Services.Interfaces
311 if (!Int32.TryParse(pointStr, out point)) 311 if (!Int32.TryParse(pointStr, out point))
312 continue; 312 continue;
313 313
314 UUID uuid = UUID.Zero; 314 List<string> idList = new List<string>(_kvp.Value.Split(new char[] {','}));
315 UUID.TryParse(_kvp.Value, out uuid);
316 315
317 appearance.SetAttachment(point, uuid, UUID.Zero); 316 appearance.SetAttachment(point, UUID.Zero, UUID.Zero);
317 foreach (string id in idList)
318 {
319 UUID uuid = UUID.Zero;
320 UUID.TryParse(id, out uuid);
321
322 appearance.SetAttachment(point | 0x80, uuid, UUID.Zero);
323 }
318 } 324 }
319 325
320 if (appearance.Wearables[AvatarWearable.BODY].Count == 0) 326 if (appearance.Wearables[AvatarWearable.BODY].Count == 0)