aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index 3bdb173..b58a1af 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -368,8 +368,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
368 368
369 public void RezMultipleAttachmentsFromInventory( 369 public void RezMultipleAttachmentsFromInventory(
370 IClientAPI remoteClient, 370 IClientAPI remoteClient,
371 RezMultipleAttachmentsFromInvPacket.HeaderDataBlock header, 371 List<KeyValuePair<UUID, uint>> rezlist)
372 RezMultipleAttachmentsFromInvPacket.ObjectDataBlock[] objects)
373 { 372 {
374 if (!Enabled) 373 if (!Enabled)
375 return; 374 return;
@@ -388,9 +387,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
388 { 387 {
389// m_log.DebugFormat("[ATTACHMENTS MODULE]: Rezzing multiple attachments from inventory for {0}", sp.Name); 388// m_log.DebugFormat("[ATTACHMENTS MODULE]: Rezzing multiple attachments from inventory for {0}", sp.Name);
390 389
391 foreach (RezMultipleAttachmentsFromInvPacket.ObjectDataBlock obj in objects) 390 foreach (KeyValuePair<UUID, uint> rez in rezlist)
392 { 391 {
393 RezSingleAttachmentFromInventory(sp, obj.ItemID, obj.AttachmentPt); 392 RezSingleAttachmentFromInventory(sp, rez.Key, rez.Value);
394 } 393 }
395 } 394 }
396 } 395 }