refactor: camel case AttachmentPoint method arg as per code standards
parent
33a894f3d2
commit
b7700428ec
|
@ -363,22 +363,22 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
|||
/// <param name="att"></param>
|
||||
/// <param name="sp"></param>
|
||||
/// <param name="itemID"></param>
|
||||
/// <param name="AttachmentPt"></param>
|
||||
/// <param name="attachmentPoint"></param>
|
||||
/// <returns></returns>
|
||||
private UUID ShowAttachInUserInventory(
|
||||
SceneObjectGroup att, ScenePresence sp, UUID itemID, uint AttachmentPt)
|
||||
SceneObjectGroup att, ScenePresence sp, UUID itemID, uint attachmentPoint)
|
||||
{
|
||||
// m_log.DebugFormat(
|
||||
// "[ATTACHMENTS MODULE]: Updating inventory of {0} to show attachment of {1} {2} (item ID {3}) at {4}",
|
||||
// sp.Name, att.Name, att.LocalId, itemID, AttachmentPt);
|
||||
|
||||
if (!att.IsDeleted)
|
||||
AttachmentPt = att.AttachmentPoint;
|
||||
attachmentPoint = att.AttachmentPoint;
|
||||
|
||||
InventoryItemBase item = new InventoryItemBase(itemID, sp.UUID);
|
||||
item = m_scene.InventoryService.GetItem(item);
|
||||
|
||||
bool changed = sp.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID);
|
||||
bool changed = sp.Appearance.SetAttachment((int)attachmentPoint, itemID, item.AssetID);
|
||||
if (changed && m_scene.AvatarFactory != null)
|
||||
m_scene.AvatarFactory.QueueAppearanceSave(sp.UUID);
|
||||
|
||||
|
|
Loading…
Reference in New Issue