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.
0.6.0-stable
Charles Krinke 2008-05-31 20:47:14 +00:00
parent 8cb5ec5fdd
commit 47cc1fcf46
1 changed files with 5 additions and 0 deletions

View File

@ -513,6 +513,11 @@ namespace OpenSim.Region.Environment.Scenes
if (asset != null) if (asset != null)
{ {
if (newName != String.Empty)
{
asset.Name = newName;
}
if (remoteClient.AgentId == oldAgentID) if (remoteClient.AgentId == oldAgentID)
{ {
CreateNewInventoryItem( CreateNewInventoryItem(