refactor: rename DeleteToInventory() to CopyToInventory()

DeleteToInventory() is misleading - it is the caller that decides whether to delete or not
This commit is contained in:
Justin Clark-Casey (justincc)
2011-04-18 21:34:26 +01:00
parent 5a404a9ab1
commit 71114d4ad1
3 changed files with 20 additions and 3 deletions

View File

@@ -143,7 +143,8 @@ namespace OpenSim.Region.Framework.Scenes
{
IInventoryAccessModule invAccess = m_scene.RequestModuleInterface<IInventoryAccessModule>();
if (invAccess != null)
invAccess.DeleteToInventory(x.action, x.folderID, x.objectGroups, x.remoteClient);
invAccess.CopyToInventory(x.action, x.folderID, x.objectGroups, x.remoteClient);
if (x.permissionToDelete)
{
foreach (SceneObjectGroup g in x.objectGroups)