From 5beee42809ad0fbdf559cb82038a5d3d41e98d9e Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Tue, 6 Sep 2011 02:29:22 +0100
Subject: rename AM.AddSceneObjectAsAttachment() to
AddSceneObjectAsNewAttachmentInInv
---
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index 67969b7..af431f4 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -302,7 +302,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
itemID = group.GetFromItemID();
if (itemID == UUID.Zero)
- itemID = AddSceneObjectAsAttachment(sp.ControllingClient, group).ID;
+ itemID = AddSceneObjectAsNewAttachmentInInv(sp.ControllingClient, group).ID;
ShowAttachInUserInventory(sp, attachmentPt, itemID, group);
}
@@ -733,12 +733,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
}
///
- /// Add a scene object that was previously free in the scene as an attachment to an avatar.
+ /// Add a scene object as a new attachment in the user inventory.
///
///
///
/// The user inventory item created that holds the attachment.
- private InventoryItemBase AddSceneObjectAsAttachment(IClientAPI remoteClient, SceneObjectGroup grp)
+ private InventoryItemBase AddSceneObjectAsNewAttachmentInInv(IClientAPI remoteClient, SceneObjectGroup grp)
{
// m_log.DebugFormat("[SCENE]: Called AddSceneObjectAsAttachment for object {0} {1} for {2} {3} {4}", grp.Name, grp.LocalId, remoteClient.Name, remoteClient.AgentId, AgentId);
--
cgit v1.1