From ee0a5caa30a3b87a91f3d7032ce92756eec870a7 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 29 Aug 2008 11:03:58 +0000 Subject: Fix an issue where the client supplies an empty name and it was applied to the inventory item, causing the item to wind up without a name. --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index a12748f..ab580ae 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -538,6 +538,10 @@ namespace OpenSim.Region.Environment.Scenes { asset.Name = newName; } + else + { + newName = item.Name; + } if (remoteClient.AgentId == oldAgentID) { -- cgit v1.1