aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index ffb8501..a12748f 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -542,13 +542,13 @@ namespace OpenSim.Region.Environment.Scenes
542 if (remoteClient.AgentId == oldAgentID) 542 if (remoteClient.AgentId == oldAgentID)
543 { 543 {
544 CreateNewInventoryItem( 544 CreateNewInventoryItem(
545 remoteClient, newFolderID, item.Name, item.Flags, callbackID, asset, (sbyte)item.InvType, 545 remoteClient, newFolderID, newName, item.Flags, callbackID, asset, (sbyte)item.InvType,
546 item.BasePermissions, item.CurrentPermissions, item.EveryOnePermissions, item.NextPermissions, Util.UnixTimeSinceEpoch()); 546 item.BasePermissions, item.CurrentPermissions, item.EveryOnePermissions, item.NextPermissions, Util.UnixTimeSinceEpoch());
547 } 547 }
548 else 548 else
549 { 549 {
550 CreateNewInventoryItem( 550 CreateNewInventoryItem(
551 remoteClient, newFolderID, item.Name, item.Flags, callbackID, asset, (sbyte)item.InvType, 551 remoteClient, newFolderID, newName, item.Flags, callbackID, asset, (sbyte)item.InvType,
552 item.NextPermissions, item.NextPermissions, item.EveryOnePermissions & item.NextPermissions, item.NextPermissions, Util.UnixTimeSinceEpoch()); 552 item.NextPermissions, item.NextPermissions, item.EveryOnePermissions & item.NextPermissions, item.NextPermissions, Util.UnixTimeSinceEpoch());
553 } 553 }
554 } 554 }