diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index b976020..d9259b3 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -363,22 +363,22 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
363 | /// <param name="att"></param> | 363 | /// <param name="att"></param> |
364 | /// <param name="sp"></param> | 364 | /// <param name="sp"></param> |
365 | /// <param name="itemID"></param> | 365 | /// <param name="itemID"></param> |
366 | /// <param name="AttachmentPt"></param> | 366 | /// <param name="attachmentPoint"></param> |
367 | /// <returns></returns> | 367 | /// <returns></returns> |
368 | private UUID ShowAttachInUserInventory( | 368 | private UUID ShowAttachInUserInventory( |
369 | SceneObjectGroup att, ScenePresence sp, UUID itemID, uint AttachmentPt) | 369 | SceneObjectGroup att, ScenePresence sp, UUID itemID, uint attachmentPoint) |
370 | { | 370 | { |
371 | // m_log.DebugFormat( | 371 | // m_log.DebugFormat( |
372 | // "[ATTACHMENTS MODULE]: Updating inventory of {0} to show attachment of {1} {2} (item ID {3}) at {4}", | 372 | // "[ATTACHMENTS MODULE]: Updating inventory of {0} to show attachment of {1} {2} (item ID {3}) at {4}", |
373 | // sp.Name, att.Name, att.LocalId, itemID, AttachmentPt); | 373 | // sp.Name, att.Name, att.LocalId, itemID, AttachmentPt); |
374 | 374 | ||
375 | if (!att.IsDeleted) | 375 | if (!att.IsDeleted) |
376 | AttachmentPt = att.AttachmentPoint; | 376 | attachmentPoint = att.AttachmentPoint; |
377 | 377 | ||
378 | InventoryItemBase item = new InventoryItemBase(itemID, sp.UUID); | 378 | InventoryItemBase item = new InventoryItemBase(itemID, sp.UUID); |
379 | item = m_scene.InventoryService.GetItem(item); | 379 | item = m_scene.InventoryService.GetItem(item); |
380 | 380 | ||
381 | bool changed = sp.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID); | 381 | bool changed = sp.Appearance.SetAttachment((int)attachmentPoint, itemID, item.AssetID); |
382 | if (changed && m_scene.AvatarFactory != null) | 382 | if (changed && m_scene.AvatarFactory != null) |
383 | m_scene.AvatarFactory.QueueAppearanceSave(sp.UUID); | 383 | m_scene.AvatarFactory.QueueAppearanceSave(sp.UUID); |
384 | 384 | ||