aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-27 00:20:15 +0100
committerJustin Clark-Casey (justincc)2011-08-27 00:20:15 +0100
commitb7700428ec298f29ae4cbb0e1090728fe3b93602 (patch)
treed7b5bb0370b0d756d982eb47b365f2ca1511418e
parentrefactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid poin... (diff)
downloadopensim-SC_OLD-b7700428ec298f29ae4cbb0e1090728fe3b93602.zip
opensim-SC_OLD-b7700428ec298f29ae4cbb0e1090728fe3b93602.tar.gz
opensim-SC_OLD-b7700428ec298f29ae4cbb0e1090728fe3b93602.tar.bz2
opensim-SC_OLD-b7700428ec298f29ae4cbb0e1090728fe3b93602.tar.xz
refactor: camel case AttachmentPoint method arg as per code standards
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs8
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