From 066b350d207f9410b2198726bdd71555b08c2d6d Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Fri, 23 May 2008 02:45:52 +0000 Subject: Thank you kindly, Melanie, for: Nothing huge, but the new button code for producing a new script does well, but the script will not allow for name change once created. It reverts back to new script. --- .../Region/ClientStack/LindenUDP/LLClientView.cs | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index c23369c..93ce29e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -5075,8 +5075,28 @@ namespace OpenSim.Region.ClientStack.LindenUDP handlerUpdateTaskInventory = OnUpdateTaskInventory; if (handlerUpdateTaskInventory != null) { - handlerUpdateTaskInventory(this, updatetask.InventoryData.ItemID, - updatetask.InventoryData.FolderID, updatetask.UpdateData.LocalID); + TaskInventoryItem newTaskItem=new TaskInventoryItem(); + newTaskItem.ItemID=updatetask.InventoryData.ItemID; + newTaskItem.ParentID=updatetask.InventoryData.FolderID; + newTaskItem.CreatorID=updatetask.InventoryData.CreatorID; + newTaskItem.OwnerID=updatetask.InventoryData.OwnerID; + newTaskItem.GroupID=updatetask.InventoryData.GroupID; + newTaskItem.BaseMask=updatetask.InventoryData.BaseMask; + newTaskItem.OwnerMask=updatetask.InventoryData.OwnerMask; + newTaskItem.GroupMask=updatetask.InventoryData.GroupMask; + newTaskItem.EveryoneMask=updatetask.InventoryData.EveryoneMask; + newTaskItem.NextOwnerMask=updatetask.InventoryData.NextOwnerMask; + //newTaskItem.GroupOwned=updatetask.InventoryData.GroupOwned; + newTaskItem.Type=updatetask.InventoryData.Type; + newTaskItem.InvType=updatetask.InventoryData.InvType; + newTaskItem.Flags=updatetask.InventoryData.Flags; + //newTaskItem.SaleType=updatetask.InventoryData.SaleType; + //newTaskItem.SalePrice=updatetask.InventoryData.SalePrice;; + newTaskItem.Name=Util.FieldToString(updatetask.InventoryData.Name); + newTaskItem.Description=Util.FieldToString(updatetask.InventoryData.Description); + newTaskItem.CreationDate=(uint)updatetask.InventoryData.CreationDate; + handlerUpdateTaskInventory(this, updatetask.InventoryData.TransactionID, + newTaskItem, updatetask.UpdateData.LocalID); } } } -- cgit v1.1