aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie2011-10-11 23:17:47 +0100
committerMelanie2011-10-11 23:17:47 +0100
commitef9a811ea6cbad4493c4ac8653c3c0abdd632f28 (patch)
tree2fbcb334f48d6375654534596a4153f2455cb8c6 /OpenSim/Region/CoreModules/Avatar
parentMerge commit '31125a5fd275a37261d87a336385f5447a62004e' into bigmerge (diff)
parentRemove usage of Linden packet types from inside Attachments Module and interface (diff)
downloadopensim-SC-ef9a811ea6cbad4493c4ac8653c3c0abdd632f28.zip
opensim-SC-ef9a811ea6cbad4493c4ac8653c3c0abdd632f28.tar.gz
opensim-SC-ef9a811ea6cbad4493c4ac8653c3c0abdd632f28.tar.bz2
opensim-SC-ef9a811ea6cbad4493c4ac8653c3c0abdd632f28.tar.xz
Merge commit 'e77c919290e166f19e77f3ef040418dd39f2f5bd' into bigmerge
Conflicts: OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
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 }