From 911e63765c7cea748b5ae2227f5c1d6ff131d329 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 27 Apr 2008 20:10:28 +0000 Subject: * Single Attachments now work from inventory. You can attach from inventory and detach from inventory. * Detaching from right clicking in world, detaches to your inventory. * If you go up to a prim and attach it from in world, it appears in your inventory. * Attachment placement is saved when you detach them. * Choosing wear remembers your last attachment point from inventory. * Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client * Wrote a recursive method to find the folder of a known existing inventory item. * Removed a block on physics object position on creation. This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error. * Drop doesn't work. The menu item doesn't even come up. Don't know why :P. --- OpenSim/Framework/Communications/Cache/CachedUserInfo.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs index f1268d5..9749366 100644 --- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs +++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs @@ -272,8 +272,13 @@ namespace OpenSim.Framework.Communications.Cache { if (!RootFolder.Items.ContainsKey(itemInfo.ID)) { + RootFolder.Items.Add(itemInfo.ID, itemInfo); } + else + { + RootFolder.Items[itemInfo.ID] = itemInfo; + } } } else @@ -287,6 +292,10 @@ namespace OpenSim.Framework.Communications.Cache { folder.Items.Add(itemInfo.ID, itemInfo); } + else + { + folder.Items[itemInfo.ID] = itemInfo; + } } } } -- cgit v1.1