diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 18f9148..306998e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -513,6 +513,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
513 | 513 | ||
514 | if (asset != null) | 514 | if (asset != null) |
515 | { | 515 | { |
516 | if (newName != String.Empty) | ||
517 | { | ||
518 | asset.Name = newName; | ||
519 | } | ||
520 | |||
516 | if (remoteClient.AgentId == oldAgentID) | 521 | if (remoteClient.AgentId == oldAgentID) |
517 | { | 522 | { |
518 | CreateNewInventoryItem( | 523 | CreateNewInventoryItem( |