mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
refactor: rename DeleteToInventory() to CopyToInventory()
DeleteToInventory() is misleading - it is the caller that decides whether to delete or not
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user