aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorCharles Krinke2008-05-31 20:47:14 +0000
committerCharles Krinke2008-05-31 20:47:14 +0000
commit47cc1fcf4650c0da5132c8c077569bf328c364ab (patch)
tree29d4b312bed4d7bdec610c9f3061ef71ffb61d98
parent* Make version information common to all servers (diff)
downloadopensim-SC_OLD-47cc1fcf4650c0da5132c8c077569bf328c364ab.zip
opensim-SC_OLD-47cc1fcf4650c0da5132c8c077569bf328c364ab.tar.gz
opensim-SC_OLD-47cc1fcf4650c0da5132c8c077569bf328c364ab.tar.bz2
opensim-SC_OLD-47cc1fcf4650c0da5132c8c077569bf328c364ab.tar.xz
Mantis#1428. Thank you kindly, fdg for a patch that solves:
When you copy an item in inventory and paste it, the name gets lost. Also when you use "Save as" in the Appearance Editing window the created item in inventory has always the name "New <item-type>", regardless of what you typed in as name.
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs5
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(