From 70361bceb8e9ca99ed950570831ac40af6f63ad0 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 5 Jan 2008 22:48:36 +0000 Subject: Persistent prim inventory phase 3. Now retrieving prim item data from persistent store, but this doesn't yet show up for the client. Still no user functionality and not enabled in normal code. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index c0cfe9f..051884d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -60,14 +60,21 @@ namespace OpenSim.Region.Environment.Scenes [XmlIgnore] public PhysicsActor PhysActor = null; - // Holds in memory prim inventory - protected Dictionary m_taskInventory + /// + /// Holds in memory prim inventory + /// + protected IDictionary m_taskInventory = new Dictionary(); [XmlIgnore] - public Dictionary TaskInventory + /// + /// Not really ideal to allow this to be set, but currently expedient for inserting a prim inventory + /// from persistence. + /// + public IDictionary TaskInventory { get { return m_taskInventory; } + set { m_taskInventory = value; } } public LLUUID LastOwnerID; -- cgit v1.1